diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2021-01-21 17:22:53 -0700 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2021-01-21 17:22:53 -0700 |
commit | bcf9b230be6d74c71567fd0771b31d47d8dd39c7 (patch) | |
tree | 2d0fc16142d55bbd5876ac6b8174c2857883b40e /Makefile | |
parent | d57fd70640948cf20eeb41b56e8d4e23e616cec0 (diff) |
build the blog with nix
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -1,12 +1,11 @@ serve: - docker run -it --rm \ - -v $$(pwd):/srv/jekyll \ - -p 4000:4000 \ - jekyll/jekyll \ - jekyll serve -w -I -D -H 0.0.0.0 + nix-shell -A serve update: - docker run -it --rm \ - -v $$(pwd):/srv/jekyll \ - jekyll/jekyll \ - bundle update + nix-shell -p bundler --run 'bundler 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 |