add before

This commit is contained in:
Huan LI (李卓桓)
2020-08-11 00:35:57 +08:00
parent 4d94c12d35
commit 0ace269b3f
+2 -1
View File
@@ -7,6 +7,7 @@ ports:
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
tasks:
- init: npm install && wget https://github.com/yudai/gotty/releases/download/v2.0.0-alpha.3/gotty_2.0.0-alpha.3_linux_amd64.tar.gz && tar zxvf ./gotty*.tar.gz && rm -f gotty*.tar.gz # runs during prebuild
- before: wget https://github.com/yudai/gotty/releases/download/v2.0.0-alpha.3/gotty_2.0.0-alpha.3_linux_amd64.tar.gz
init: tar zxvf ./gotty*.tar.gz && rm -f gotty*.tar.gz && npm install
command: ./gotty npm start