git.iko.soy/typeable/octopod
on iko/minor-improvememnts help sign in
43 lines 1.2 kB history raw
1.PHONY: build-backend build-octo-cli build-frontend backend-docs repl shell ghcid ghcid-cli ghcid-frontend push-octopod run-backend-dev run-frontend-dev
3build-backend:
4 nix-build . -A octopod-backend.components.exes.octopod-exe -j auto
6build-octo-cli:
7 nix-build . -A octo-cli.components.exes.octo -j auto
9build-frontend:
10 nix-build . -A octopod-frontend-pretty -o frontend-result -j auto
12backend-docs:
13 nix-build . -A octopod-backend.components.library.doc -j auto
15repl:
16 nix-shell --run "cabal repl lib:octopod-backend" -j auto
18shell:
19 nix-shell -j auto
21ghcid-backend:
22 nix-shell --run 'ghcid -c "cabal new-repl octopod-backend"' -j auto
24ghcid-cli:
25 nix-shell --run 'ghcid -c "cabal new-repl octo-cli"' -j auto
27ghcid-frontend:
28 nix-shell --run 'ghcid -c "cabal new-repl octopod-frontend -fdevelopment --ghc-options=-Wwarn" --warnings --test 'Main.main'' -j auto
30push-octopod:
31 ./build.sh build-and-push latest
33run-backend-dev:
34 `nix-build dev -A backend -j auto`
36run-frontend-dev:
37 `nix-build dev -A frontend -j auto`
39run-frontend-prod:
40 `nix-build dev -A frontend --arg prod true -j auto`
42run-caddy-for-ghcid:
43 `nix-build dev -A caddyForGhcid -j auto`