-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkspace.sh
More file actions
executable file
·64 lines (57 loc) · 2.39 KB
/
Copy pathworkspace.sh
File metadata and controls
executable file
·64 lines (57 loc) · 2.39 KB
1
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/usr/bin/env bash.origin.script
depend {
"component": {
"gi0.CADorn.org~component#s1": {
"readme": "$__DIRNAME__/README.md",
"variables": {
"PACKAGE_NAME": "jsonrep",
"PACKAGE_GITHUB_URI": "github.com/jsonrep/jsonrep",
"PACKAGE_WEBSITE_SOURCE_URI": "github.com/jsonrep/jsonrep/tree/master/workspace.sh",
"PACKAGE_CIRCLECI_NAMESPACE": "jsonrep/jsonrep",
"PACKAGE_NPM_PACKAGE_NAME": "jsonrep",
"PACKAGE_NPM_PACKAGE_URL": "https://www.npmjs.com/package/jsonrep",
"PACKAGE_WEBSITE_URI": "jsonrep.github.io/jsonrep",
"PACKAGE_YEAR_CREATED": "2017",
"PACKAGE_LICENSE_ALIAS": "MPL",
"PACKAGE_SUMMARY": "$__DIRNAME__/GUIDE.md"
},
"routes": {
"/dist/regenerator-runtime.js": {
"@it.pinf.org.browserify#s1": {
"src": "regenerator-runtime",
"dist": "$__DIRNAME__/dist/regenerator-runtime.js",
"prime": true
}
},
"/dist/div.rep.js": "$__DIRNAME__/dist/div.rep.js",
"/dist/io.shields.img.rep.js": "$__DIRNAME__/dist/io.shields.img.rep.js",
"/dist/golden-layout.rep.js": "$__DIRNAME__/dist/golden-layout.rep.js",
"/dist/jsonrep.js": {
"@it.pinf.org.browserify#s1": {
"src": "$__DIRNAME__/src/jsonrep.js",
"dist": "$__DIRNAME__/dist/jsonrep.js",
"prime": true
}
},
"/dist/insight.rep.js": {
"@it.pinf.org.browserify#s1": {
"src": "$__DIRNAME__/src/insight.rep.js",
"dist": "$__DIRNAME__/dist/insight.rep.js",
"prime": true,
"format": "pinf"
}
}
},
"files": {
"dist/insight.domplate.reps": "insight.domplate.reps/dist/reps"
}
}
}
}
BO_parse_args "ARGS" "$@"
if [ "$ARGS_1" == "publish" ]; then
# TODO: Add option to track files and only publish if changed.
CALL_component publish ${*:2}
elif [ "$ARGS_1" == "run" ]; then
CALL_component run ${*:2}
fi