We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f47354 + d21bea8 commit 1074723Copy full SHA for 1074723
build.sh
@@ -1,7 +1,8 @@
1
#!/usr/bin/env bash
2
+echoerr() { echo "$@" 1>&2; }
3
if which node >/dev/null; then
- node ./util/r.js -o ./util/build.js
4
+ node ./util/r.js -o ./util/build.js dir=${1:-"./build"}
5
else
- echo "node.js is required to build - see https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager"
6
+ echoerr "ERROR: node.js is required to build - see https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager"
7
exit 1
8
fi
util/build.js
@@ -1,7 +1,6 @@
({
appDir: "../widgets",
baseUrl: ".",
- dir: "../build",
modules: [
{
name: "config",
0 commit comments