workspace.json 1.45 KB
Newer Older
mchazalviel's avatar
mchazalviel committed
1
{
mchazalviel's avatar
mchazalviel committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
    /**
     * An object containing key value pair framework descriptors.
     * 
     * The value can be a string or an object containing at least one of "dir" or "pkg",
     * where "dir" can be a filesystem path to the framework sources and "pkg" can be a 
     * package name. For example:
     *
     *      "frameworks": {
     *          
     *          "ext-x": "/absolute/path/to/ext",
     *          "ext-y": {
     *              "source": "../relative/path/to/ext",
     *              "path": "ext"
     *          },
     *          "ext-z": {
     *              "package": "ext@n.n.n",
     *              "path": "ext-n.n.n"
     *          },
     *          "touch": "touch"
     *      }
     *
     */
    "frameworks": {
        "ext": "ext"
        
    },

mchazalviel's avatar
mchazalviel committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
    /**
     * This is the folder for build outputs in the workspace.
     */
    "build": {
        "dir": "${workspace.dir}/build"
    },

    /**
     * These configs determine where packages are generated and extracted to (when downloaded).
     */
    "packages": {
        /**
         * This folder contains all local packages.
         * If a comma-separated string is used as value the first path will be used as the path to generate new packages.
         */
        "dir": "${workspace.dir}/packages/local,${workspace.dir}/packages",

        /**
         * This folder contains all extracted (remote) packages.
         */
        "extract": "${workspace.dir}/packages/remote"
    }
}