mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
ensure cli always has packages installed
This commit is contained in:
parent
0598c5c9be
commit
5a82e0308b
1 changed files with 6 additions and 1 deletions
7
piston
7
piston
|
@ -68,5 +68,10 @@ case $1 in
|
|||
docker build repo -t piston-repo-builder
|
||||
docker run -v "$(realpath $(dirname "$0")):/piston" piston-repo-builder --no-server $PKGSLUG
|
||||
;;
|
||||
*) node cli/index.js "$@" ;;
|
||||
*)
|
||||
cd cli
|
||||
npm i > /dev/null
|
||||
cd ../
|
||||
node cli/index.js "$@"
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue