Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 4-space indents in justfile for consistency with socorro #53

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

_default:
@just --list
@just --list

# Build docker images.
build *args:
docker compose --progress plain build {{args}}
docker compose --progress plain build {{args}}

# Open a shell in docker.
shell *args:
docker compose run --rm shell {{args}}
docker compose run --rm shell {{args}}

# Run VS Code development container.
devcontainer:
docker compose up --detach devcontainer
docker compose up --detach devcontainer

# Rebuild requirements.txt file after requirements.in changes.
rebuild-reqs *args:
docker compose run --rm --no-deps shell pip-compile --allow-unsafe --generate-hashes --strip-extras {{args}}
docker compose run --rm --no-deps shell pip-compile --allow-unsafe --generate-hashes --strip-extras {{args}}

# Lint code, or use --fix to reformat and apply auto-fixes for lint.
lint *args:
docker compose run --rm --no-deps shell bin/lint.sh {{args}}
docker compose run --rm --no-deps shell bin/lint.sh {{args}}

# Run tests.
test *args:
docker compose run --rm shell bin/test.sh {{args}}
docker compose run --rm shell bin/test.sh {{args}}