ensure cli always has packages installed
This commit is contained in:
parent
0598c5c9be
commit
5a82e0308b
7
piston
7
piston
|
@ -68,5 +68,10 @@ case $1 in
|
||||||
docker build repo -t piston-repo-builder
|
docker build repo -t piston-repo-builder
|
||||||
docker run -v "$(realpath $(dirname "$0")):/piston" piston-repo-builder --no-server $PKGSLUG
|
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
|
esac
|
Loading…
Reference in New Issue