mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Merge pull request #74 from smoratinos/master
fix directory path in shell script
This commit is contained in:
commit
d5ee2307f8
3 changed files with 24 additions and 4 deletions
|
@ -1,7 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
# full script path include his name
|
||||
_script="$(readlink -f ${BASH_SOURCE[0]})"
|
||||
|
||||
# Script location path (dir)
|
||||
_base="$(dirname $_script)"
|
||||
|
||||
sleep 5
|
||||
cd ~/Desktop/coco
|
||||
cd $_base
|
||||
cd ../
|
||||
until node_modules/karma/bin/karma start; do
|
||||
echo "Karma crashed with exit code $?. Respawning.." >&2
|
||||
sleep 1
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
#sleep 5
|
||||
cd ~/Desktop/coco
|
||||
# full script path include his name
|
||||
_script="$(readlink -f ${BASH_SOURCE[0]})"
|
||||
|
||||
# Script location path (dir)
|
||||
_base="$(dirname $_script)"
|
||||
|
||||
cd $_base
|
||||
cd ../
|
||||
node_modules/jasmine-node/bin/jasmine-node test/server/ --coffee --autotest --captureExceptions
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ~/Desktop/coco
|
||||
# full script path include his name
|
||||
_script="$(readlink -f ${BASH_SOURCE[0]})"
|
||||
|
||||
# Script location path (dir)
|
||||
_base="$(dirname $_script)"
|
||||
|
||||
cd $_base
|
||||
cd ../
|
||||
node_modules/.bin/nodemon . --ext ".coffee|.js" --watch server --watch server.coffee --unittest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue