diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2021-01-22 22:09:35 -0700 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2021-01-22 22:09:35 -0700 |
commit | 3a2309c264d25760a43af70ee2491f442552ed45 (patch) | |
tree | 40e635dddfc19813534085e9cb4013ec22e931b6 /Makefile | |
parent | bcf9b230be6d74c71567fd0771b31d47d8dd39c7 (diff) |
fix up makefile, include install target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,12 @@ +result: + nix-build -A build + +install: result + nix-env -i "$$(readlink result)" + +clean: + rm result + serve: nix-shell -A serve @@ -6,6 +15,3 @@ update: lock: nix-shell -p bundler -p bundix --run 'bundler lock; bundler package --no-install --path vendor; bundix; rm -rf .bundle vendor' - -build: - nix-build -A build |