Skip to content

Commit

Permalink
🔨 update development scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Feb 1, 2024
1 parent 5212809 commit c438a6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/setup-envs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ poetry install --all-extras && poetry run pre-commit install
# setup pydantic v2 test environment
for env in $(find ./envs/ -maxdepth 1 -mindepth 1 -type d -not -name test); do
echo "Setting up $env environment"
poetry install --no-root -C $env
(cd $env && poetry install --no-root)
done
6 changes: 3 additions & 3 deletions scripts/update-envs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

# update test env
echo "Updating test env..."
poetry update --lock -C ./envs/test/
(cd ./envs/test/ && poetry update --lock)

# update dev env
echo "Updating dev env..."
poetry update -C .
poetry update

# update other envs
for env in $(find ./envs/ -maxdepth 1 -mindepth 1 -type d -not -name test); do
echo "Updating $env env..."
poetry update -C $env
(cd $env && poetry update)
done

0 comments on commit c438a6b

Please sign in to comment.