diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2021-08-30 21:38:09 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2021-08-30 21:38:09 -0600 |
commit | 6bebc3fae73b5f5f68e5de9e083635cfab9037b1 (patch) | |
tree | 634bf166a2295ba3d4fc12bf71f22eeb48fe3b35 /Makefile | |
parent | 9343d2ea697f13e52e9199fce62a959f1954f580 (diff) |
have circus run static serve, and optionally able to skip services via Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -1,8 +1,20 @@ +SKIP_SERVICES = [] + all: - nix-build -A entrypoint --arg baseConfig '(import ./config.nix) // { staticProxyURL = ""; }' + nix-build -A entrypoint \ + --arg baseConfig '(import ./config.nix)' \ + --arg baseSkipServices '${SKIP_SERVICES}' + +run: all + ./result all.prod: - nix-build -A entrypoint --arg baseConfig '(import ./prod.config.nix)' + nix-build -A entrypoint \ + --arg baseConfig '(import ./prod.config.nix)' \ + --arg baseSkipServices '${SKIP_SERVICES}' + +run.prod: all.prod + ./result install.prod: nix-build -A install --arg baseConfig '(import ./prod.config.nix)' |