-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (24 loc) · 822 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SHELL := /bin/bash
# .PHONY: install install-and-serve
default: install-and-serve
h help:
@egrep '^\S|^$$' Makefile
clean:
rm -rf _site/ src/_site/ output/
install: clean
sudo apt-get install ruby ruby-all-dev gem -yq >/dev/null
sudo gem install bundler >/dev/null
sudo gem update >/dev/null
bundle config
bundle install >/dev/null
install-and-serve: serve
build: clean
act --container-architecture "linux/amd64" --secret-file ".secrets.local" --env-file ".env.local" --reuse -j build
build_local: clean
bundle exec rake
test:
# act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04
act --container-architecture "linux/amd64" --secret-file ".secrets.local" --env-file ".env.local" --reuse -j lint
s serve: clean
# JEKYLL_ENV=development
bundle exec jekyll serve --incremental --verbose --trace