Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Makefile and circleci configuration
* Cleanup Makefile to handle our most common operations * Fix circleci config to ignore gh-pages repo
- Loading branch information
Showing
2 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
.PHONY: build up down shell test worker web docs | ||
up: | ||
docker-compose up | ||
.PHONY: test | ||
test: .venv | ||
.venv/bin/promgen test | ||
|
||
|
||
.PHONY: build | ||
build: | ||
docker-compose build | ||
|
||
down: | ||
docker-compose down | ||
|
||
clean: down | ||
docker-compose rm | ||
|
||
.PHONY: shell | ||
shell: | ||
docker-compose run --rm worker bash | ||
|
||
test: | ||
docker-compose run base promgen test | ||
.venv: | ||
python3 -m venv .venv | ||
.venv/bin/pip install -e .[dev,docs] | ||
|
||
docs: | ||
.PHONY: docs | ||
docs: .venv | ||
.venv/bin/sphinx-build -avb html docs dist/html |