mirror of https://github.com/calzoneman/sync.git
Instead, add env var for overriding user input
This commit is contained in:
parent
61f872bb84
commit
5e537fa8db
|
@ -8,8 +8,6 @@ addons:
|
||||||
- g++-4.8
|
- g++-4.8
|
||||||
env:
|
env:
|
||||||
- CXX="g++-4.8"
|
- CXX="g++-4.8"
|
||||||
before_script:
|
|
||||||
- npm run build-server
|
|
||||||
node_js:
|
node_js:
|
||||||
- "7"
|
- "7"
|
||||||
- "6"
|
- "6"
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if test "$BUILD_OVERRIDE" = "Y"; then
|
||||||
|
echo "Running $npm_package_scripts_build_server"
|
||||||
|
$npm_package_scripts_build_server
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
echo "In order to run the server, the source files in src/ must be transpiled to lib/. This will overwrite any changes you have made to the files in lib/."
|
echo "In order to run the server, the source files in src/ must be transpiled to lib/. This will overwrite any changes you have made to the files in lib/."
|
||||||
echo -n "Do you want to build now? [y/N]? "
|
echo -n "Do you want to build now? [y/N]? "
|
||||||
read answer
|
read answer
|
||||||
|
|
Loading…
Reference in New Issue