initial devcontainer setup
This commit is contained in:
commit
b9b7aa6a08
14 changed files with 411 additions and 0 deletions
16
.devcontainer/post_create.sh
Normal file
16
.devcontainer/post_create.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Change to the project root directory
|
||||
cd $PROJECT_ROOT
|
||||
|
||||
# Trust all tools and plugins defined in mise.toml
|
||||
mise trust --all
|
||||
|
||||
# Install all tools and plugins defined in mise.toml
|
||||
mise install
|
||||
|
||||
# Activate mise environment for bash
|
||||
eval "$(mise activate bash)"
|
||||
|
||||
# Run 'mix setup' only if mix.exs exists (i.e., if this is an Elixir project)
|
||||
if [ -f mix.exs ]; then
|
||||
mix setup
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue