mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 03:46:37 +11:00
Update docker-compose to docker
This is because docker compose binary is no longer updated.
This commit is contained in:
parent
e4047a986c
commit
cb3b32594e
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -12,7 +12,7 @@ endef
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: ## Run Django tests
|
test: ## Run Django tests
|
||||||
docker-compose run --rm app pytest dpaste/
|
docker compose run --rm app pytest dpaste/
|
||||||
|
|
||||||
.PHONY: code-cleanup
|
.PHONY: code-cleanup
|
||||||
code-cleanup: ## Black and isort the Python codebase
|
code-cleanup: ## Black and isort the Python codebase
|
||||||
|
@ -23,11 +23,11 @@ code-cleanup: ## Black and isort the Python codebase
|
||||||
|
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs: ## Compile the documentation
|
docs: ## Compile the documentation
|
||||||
docker-compose run --rm app sphinx-build docs docs/_build/html
|
docker compose run --rm app sphinx-build docs docs/_build/html
|
||||||
|
|
||||||
.PHONY: docs-watch
|
.PHONY: docs-watch
|
||||||
docs-watch: ## Compile the documentation and watch for changes
|
docs-watch: ## Compile the documentation and watch for changes
|
||||||
docker-compose run -p 8000:8000 --rm app sphinx-autobuild --host 0 --port 8000 docs docs/_build/html
|
docker compose run -p 8000:8000 --rm app sphinx-autobuild --host 0 --port 8000 docs docs/_build/html
|
||||||
|
|
||||||
.PHONY: css
|
.PHONY: css
|
||||||
css: ## Compile SCSS files
|
css: ## Compile SCSS files
|
||||||
|
@ -55,8 +55,8 @@ release-pypi:
|
||||||
set -ex
|
set -ex
|
||||||
rm -f .coverage
|
rm -f .coverage
|
||||||
pip-compile --dry-run setup.py
|
pip-compile --dry-run setup.py
|
||||||
docker-compose build
|
docker compose build
|
||||||
docker-compose run --rm app pytest dpaste/
|
docker compose run --rm app pytest dpaste/
|
||||||
rm -rf ./node_modules
|
rm -rf ./node_modules
|
||||||
npm ci
|
npm ci
|
||||||
make css
|
make css
|
||||||
|
|
Loading…
Reference in a new issue