2024-01-13 16:58:43 +00:00
|
|
|
# unit tests independent of your environment. Aspires to be the default CI job.
|
2024-01-13 16:36:51 +00:00
|
|
|
.PHONY: check
|
|
|
|
test:
|
2024-01-13 16:58:43 +00:00
|
|
|
nix flake check
|
2024-01-13 16:36:51 +00:00
|
|
|
|
2024-01-15 08:01:47 +00:00
|
|
|
.PHONY: format
|
|
|
|
format:
|
|
|
|
autopep8 -a -a --recursive --in-place --exclude app/signup/migrations app
|
|
|
|
|
2024-01-13 16:58:43 +00:00
|
|
|
.PHONY: run
|
|
|
|
run:
|
|
|
|
app/manage.py runserver
|
|
|
|
|
2024-01-15 14:14:46 +00:00
|
|
|
.PHONY: run-backend
|
|
|
|
run-backend:
|
|
|
|
nix run .#e11sync-backend
|
2024-01-15 09:57:36 +00:00
|
|
|
|
2024-01-15 14:14:46 +00:00
|
|
|
.PHONY: run-frontend
|
|
|
|
run-frontend:
|
2024-01-20 12:10:33 +00:00
|
|
|
nix run .#e11sync-caddyfile
|
2024-01-15 21:11:46 +00:00
|
|
|
|
|
|
|
.PHONY: vm
|
|
|
|
vm:
|
2024-01-16 13:38:38 +00:00
|
|
|
nix run .#nixosConfigurations.vm.config.system.build.vm
|