mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-12-06 17:54:22 +03:00
Add optional args to "just build" (#6196)
This commit is contained in:
parent
adbdb7f13e
commit
16fc0cc274
|
|
@ -1,7 +1,7 @@
|
||||||
export COMPOSE_FILE := "docker-compose.local.yml"
|
export COMPOSE_FILE := "docker-compose.local.yml"
|
||||||
|
|
||||||
## Just does not yet manage signals for subprocesses reliably, which can lead to unexpected behavior.
|
## Just does not yet manage signals for subprocesses reliably, which can lead to unexpected behavior.
|
||||||
## Exercise caution before expanding its usage in production environments.
|
## Exercise caution before expanding its usage in production environments.
|
||||||
## For more information, see https://github.com/casey/just/issues/2473 .
|
## For more information, see https://github.com/casey/just/issues/2473 .
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -10,9 +10,9 @@ default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
# build: Build python image.
|
# build: Build python image.
|
||||||
build:
|
build *args:
|
||||||
@echo "Building python image..."
|
@echo "Building python image..."
|
||||||
@docker compose build
|
@docker compose build {{ "{{args}}" }}
|
||||||
|
|
||||||
# up: Start up containers.
|
# up: Start up containers.
|
||||||
up:
|
up:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user