Skip to content

Commit

Permalink
fix(devcontainer): working extension script, missing VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu committed Jul 21, 2023
1 parent 4390770 commit a698383
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .devcontainer/extensions.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

EXTENSIONS=<<EOF
EXTENSIONS=(
4ops.terraform
aaron-bond.better-comments
bierner.markdown-preview-github-styles
Expand Down Expand Up @@ -62,9 +62,11 @@ vscode-icons-team.vscode-icons
vscodevim.vim
windmilleng.vscode-go-autotest
zeshuaro.vscode-python-poetry
EOF
)

for name in $(echo "$EXTENSIONS"); do
echo "Installing extensions..."
for name in "${EXTENSIONS[@]}"; do
echo "Installing $name ..."
code --install-extension "$name"
done
echo "Done!"
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ RUN /tmp/shakefu/extensions.sh

# Build home tool from source
WORKDIR /tmp/shakefu/home
COPY files/ install/ go.mod go.sum home.go .
# TODO: Use SemVer instead of this
COPY files/ install/ go.mod go.sum home.go VERSION .
RUN go build --buildvcs=false .

# Install home
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.1.2
v1.6.0

0 comments on commit a698383

Please sign in to comment.