File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33echo ' Please wait for setup to finish ...'
4- # eval "$(micromamba shell hook --shell bash )"
4+ eval " $( micromamba shell hook --shell bash ) "
55
66# get repo
77
88if [ $( find . -maxdepth 1 -type d ! -name . ! -name .devcontainer | wc -l) -eq 0 ];
99then
1010
11+ # move files selectively
12+
1113 mv .devcontainer ..
1214 git clone " $target_repo " .
15+
16+ mv -f ../.devcontainer/devcontainer.json .devcontainer
17+ rm -rf ../.devcontainer
18+
19+ # remove cloned and reinstate original .devcontainer folder
1320# rm -rf .devcontainer
1421# git clean -f -f
1522# mv ../.devcontainer .
16- mv -f ../.devcontainer/devcontainer.json .devcontainer
17- rm -rf ../.devcontainer
1823
1924else
2025
2126 echo Contents available :
2227
2328fi
2429
25- # micromamba activate
26- # micromamba install -y -n base -f .devcontainer/env.yaml
27- # micromamba clean --all --yes
30+ micromamba activate
31+ micromamba install -y -n base -f .devcontainer/env.yaml
32+ micromamba clean --all --yes
2833
2934# project dependencies installed via package.json
3035# and postinstall script
3136
32- # npm install
37+ npm install
You can’t perform that action at this time.
0 commit comments