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
|
||||
env:
|
||||
- CXX="g++-4.8"
|
||||
before_script:
|
||||
- npm run build-server
|
||||
node_js:
|
||||
- "7"
|
||||
- "6"
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
#!/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 -n "Do you want to build now? [y/N]? "
|
||||
read answer
|
||||
|
|
Loading…
Reference in New Issue