Skip to content

Commit f1af853

Browse files
authored
Add task to auto activate the dev environment on Gitpod
1 parent fd7c02e commit f1af853

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.gitpod.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ tasks:
2222
micromamba activate
2323
EOT
2424
source /workspace/bin/activate-env.sh
25-
echo "source /workspace/bin/activate-env.sh" >> ~/.bashrc
2625
micromamba install -n base -y -c conda-forge python=3.10 nodejs=14 yarn
2726
python -m pip install -e ".[dev,test]" && jlpm && jlpm run build && jlpm develop
2827
gp sync-done setup
@@ -36,6 +35,11 @@ tasks:
3635
gp sync-await setup
3736
source /workspace/bin/activate-env.sh
3837
jlpm watch
38+
39+
- name: shell
40+
command: |
41+
gp sync-await setup
42+
echo "source /workspace/bin/activate-env.sh" >> ~/.bashrc
3943
4044
ports:
4145
- port: 8888

0 commit comments

Comments
 (0)