From 8c1c846b70294326967d776fce3a5e89c9f02cdb Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Eugenio Halili Date: Mon, 25 Apr 2022 12:13:11 +0000 Subject: [PATCH] chore(global): :technologist: update Gitpod config on STDLIBRC magic and workspace Dockerfile Signed-off-by: Andrei Jiroh Eugenio Halili --- .gitpod.Dockerfile | 3 ++- .gitpod.yml | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 623a4d7..4fd54ea 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,4 +1,5 @@ FROM gitpod/workspace-full:latest RUN bash -lc "source ~/.nvm/nvm-lazy.sh && nvm install --lts && nvm use --lts && nvm install-latest-npm" \ - && npm i -g lib.cli && brew install shellcheck hadolint + && npm i -g lib.cli \ + && brew install shellcheck hadolint direnv diff --git a/.gitpod.yml b/.gitpod.yml index 56b8af3..d0a5248 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -5,12 +5,12 @@ tasks: # Install packages, preloads user's librc in its base64-encoded form and decode back to ~/.librc - init: | npm install - before: | + command: | eval $(gp env -e) if [[ $STDLIBRC != "" ]]; then - echo $STDLIBRC | base64 -d | tee ~/.librc.test >> /dev/null + echo $STDLIBRC | base64 -d | tee ~/.librc >> /dev/null fi - command: npn run dev + npm run dev vscode: extensions: - GitLab.gitlab-workflow