Skip to content

Commit

Permalink
Use 4-space indents in justfile for consistency with socorro (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
relud authored Nov 19, 2024
1 parent 8659cf3 commit a63dac6
Showing 1 changed file with 7 additions and 7 deletions.
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}}

0 comments on commit a63dac6

Please sign in to comment.