index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-06-01 17:50:58 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-06-01 17:50:58 -0700 |
commit | 163e3a9de59f5d6a8df38fa32a1e7dc4db1ad024 (patch) | |
tree | 8ae679d3059d8ee8c69a3d45994bc74e4388f76b /node | |
parent | e8fae51b32b6ebc4ec4e16338467b7fcc41edd11 (diff) |
Fix/refactor tests
Diffstat (limited to 'node')
-rwxr-xr-x | node | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -1,13 +1,15 @@ #!/usr/bin/env bash -user_id=$(id -u) -image=btroops +#user_id=$(id -u) +#image=btroops -if [[ $1 == run && $2 == test* ]] -then - port=3005 -else - port=8080 -fi +#if [[ $1 == run && $2 == test* ]] +#then +# port=3005 +#else +# port=8080 +#fi -docker run --rm --init -it -v $PWD:/usr/src/app -u $user_id:$user_id -p $port:$port $image node $@ +#docker run --rm --init -it -v $PWD:/usr/src/app -u $user_id:$user_id -p $port:$port $image node $@ + +source ./scripts/docker-run node $@ |