summaryrefslogtreecommitdiff
path: root/static/Makefile
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2021-07-31 11:35:39 -0600
committerBrian Picciano <mediocregopher@gmail.com>2021-07-31 11:35:39 -0600
commitf1998c321a4eec6d75b58d84aa8610971bf21979 (patch)
treea90783eb296cc50e1c48433f241624f26b99be27 /static/Makefile
parent03a35dcc38b055f15df160bd300969e3b703d4b1 (diff)
move static files into static sub-dir, refactor nix a bit
Diffstat (limited to 'static/Makefile')
-rw-r--r--static/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/static/Makefile b/static/Makefile
new file mode 100644
index 0000000..5839aa5
--- /dev/null
+++ b/static/Makefile
@@ -0,0 +1,18 @@
+result:
+ nix-build -A build
+
+clean:
+ rm -f result
+ rm -rf _site
+
+dev:
+ nix-shell -A dev
+
+shell:
+ nix-shell -A shell
+
+lock:
+ nix-shell -A depShell --run 'bundler lock; bundix; rm -rf .bundle vendor'
+
+update:
+ nix-shell -A depShell --run 'bundler update; bundler lock; bundix; rm -rf .bundle vendor'