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
4 nix-build . -A octopod-backend.components.exes.octopod-exe -j auto
7 nix-build . -A octo-cli.components.exes.octo -j auto
10 nix-build . -A octopod-frontend-pretty -o frontend-result -j auto
13 nix-build . -A octopod-backend.components.library.doc -j auto
16 nix-shell --run "cabal repl lib:octopod-backend" -j auto
22 nix-shell --run 'ghcid -c "cabal new-repl octopod-backend"' -j auto
25 nix-shell --run 'ghcid -c "cabal new-repl octo-cli"' -j auto
28 nix-shell --run 'ghcid -c "cabal new-repl octopod-frontend -fdevelopment --ghc-options=-Wwarn" --warnings --test 'Main.main'' -j auto
31 ./build.sh build-and-push latest
33run-backend-dev: dev/certs/server_cert.pem dev/certs/server_key.pem
34 ./dev/dev_backend.sh `nix-build -A octopod-backend.components.exes.octopod-exe -j auto`
36run-frontend-dev: build-frontend
39dev/certs/server_cert.pem dev/certs/server_key.pem:
40 openssl req -x509 -newkey rsa:4096 -keyout dev/certs/server_key.pem -out dev/certs/server_cert.pem -nodes -subj "/CN=localhost/O=Server"
42dev/certs/client_csr.pem dev/certs/client_key.pem:
43 openssl req -newkey rsa:4096 -keyout dev/certs/client_key.pem -out dev/certs/client_csr.pem -nodes -subj "/CN=Client"
45dev/certs/client_cert.pem: dev/certs/client_csr.pem dev/certs/server_cert.pem dev/certs/server_key.pem
46 openssl x509 -req -in dev/certs/client_csr.pem -CA dev/certs/server_cert.pem -CAkey dev/certs/server_key.pem -out dev/certs/client_cert.pem -set_serial 01 -days 3650)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list