templates for self-hosting game jams (or any other kind of jam tbh)
1default: install
2
3all: hooks install build build-gem
4
5h help:
6 @grep '^[a-z]' Makefile
7
8
9.PHONY: hooks
10hooks:
11 cd .git/hooks && ln -s -f ../../hooks/pre-push pre-push
12
13install:
14 bundle config set --local path vendor/bundle
15 bundle install
16
17upgrade:
18 bundle update
19
20
21build-gem:
22 gem build
23
24
25s serve:
26 bundle exec jekyll serve --trace --livereload
27
28build:
29 JEKYLL_ENV=production bundle exec jekyll build --trace