Skip to content

Commit

Permalink
fix: post create
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Nov 30, 2023
1 parent 41d9154 commit 6a877a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
}
},
"postCreateCommand": "make",
"postCreateCommand": ".devcontainer/post-create.sh",
"forwardPorts": [8000],
"postStartCommand": "make serve"
}
6 changes: 1 addition & 5 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@ if [[ "${CODESPACES}" == true ]]; then
sudo chmod 1777 /tmp
fi

set -x

git submodule update --init

exec make
make

0 comments on commit 6a877a2

Please sign in to comment.