~cytrogen/masto-fe

b8ff4987810b0101a9015d46c06b173ef277a98d — Nick Schonning 3 years ago 9d08b81
Fix DevContainer post-create warnings (#23977)

1 files changed, 6 insertions(+), 4 deletions(-)

M .devcontainer/post-create.sh
M .devcontainer/post-create.sh => .devcontainer/post-create.sh +6 -4
@@ 3,14 3,16 @@
set -e # Fail the whole script on first error

# Fetch Ruby gem dependencies
bundle install --path vendor/bundle --with='development test'

# Fetch Javascript dependencies
yarn install
bundle config path 'vendor/bundle'
bundle config with 'development test'
bundle install

# Make Gemfile.lock pristine again
git checkout -- Gemfile.lock

# Fetch Javascript dependencies
yarn --frozen-lockfile

# [re]create, migrate, and seed the test database
RAILS_ENV=test ./bin/rails db:setup