ecency-mobile/appcenter-post-clone.sh

18 lines
320 B
Bash
Raw Normal View History

2018-12-16 21:31:20 +03:00
#!/usr/bin/env bash
2018-12-16 21:38:51 +03:00
printf "post-clone.sh\n"
2018-12-27 11:46:57 +03:00
node -v
2018-12-16 22:15:10 +03:00
# please specify required Node.js version
NODE_VERSION=8.12.0
# workaround to override the v8 alias
npm config delete prefix
. ~/.bashrc
nvm install "$NODE_VERSION"
2018-12-27 11:46:57 +03:00
nvm alias node8 "$NODE_VERSION"
2018-12-27 12:21:13 +03:00
nvm alias default v8.12.0
2018-12-27 11:46:57 +03:00
node -v
printf "end of post-clone.sh\n"