Skip to content

Commit

Permalink
feat: change target directories in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-lane committed Feb 9, 2024
1 parent 4ee586e commit 164607e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions backend/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@ post-pull:

# Lint and format the code
pre-commit:
poetry run flake8 .
poetry run black .
poetry run flake8 . api
poetry run black . api

# Run linting only
lint:
poetry run flake8 .
poetry run flake8 . api

# Format the code using black
format:
poetry run black .
poetry run black . api

# Run the backend locally using chalice
run-dev:
poetry run chalice local
cd api && poetry run chalice local

# Deploy the backend to AWS using chalice
deploy-to-aws:
poetry run chalice deploy
cd api && poetry run chalice deploy

# Undeploy the backend from AWS using chalice
undeploy-from-aws:
poetry run chalice delete
cd api && poetry run chalice delete

# Display help with a list of available targets and their descriptions
help:
Expand Down

0 comments on commit 164607e

Please sign in to comment.