personal-effectivity-applic.../Makefile

25 lines
376 B
Makefile
Raw Normal View History

2022-02-16 03:59:01 +00:00
.PHONY: clean
clean:
if [[ -L "result" ]]; then rm result; fi
2022-02-26 22:52:41 +00:00
${MAKE} -C app clean
2022-02-16 03:59:01 +00:00
.PHONY: api
api:
nix build .#api
.PHONY: app
app:
nix build .#app
2022-05-21 02:16:21 +00:00
.PHONY: build
build: update
nix build .#nixosConfigurations.pea-test.config.system.build.toplevel
2022-02-14 05:16:40 +00:00
2022-05-21 02:16:21 +00:00
.PHONY: deploy
deploy: update
sudo nixos-container update pea-test --flake .
.PHONY: update
update:
nix flake update