21 lines
378 B
Makefile
21 lines
378 B
Makefile
# unit tests independent of your environment. Aspires to be the default CI job.
|
|
.PHONY: check
|
|
test:
|
|
nix flake check
|
|
|
|
.PHONY: format
|
|
format:
|
|
autopep8 -a -a --recursive --in-place --exclude app/signup/migrations app
|
|
|
|
.PHONY: run
|
|
run:
|
|
app/manage.py runserver
|
|
|
|
.PHONY: run-gunicorn
|
|
run-gunicorn:
|
|
nix run .#e11sync-gunicorn
|
|
|
|
.PHONY: run-caddy
|
|
run-caddy:
|
|
nix run .#e11sync-caddy
|