My blog
https://blog.franco.net.eu.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
598 B
31 lines
598 B
#!/usr/bin/make -f |
|
|
|
# Copyright (c) 2017 Franco Masotti. |
|
# See LICENSE file for details. |
|
|
|
PORT = 3050 |
|
default: install-dev |
|
|
|
install-dev: |
|
pipenv install --dev |
|
pipenv run pre-commit install |
|
bundle install |
|
|
|
uninstall-dev: |
|
pipenv --rm |
|
|
|
all: clean build serve-global |
|
|
|
build: |
|
bundle exec jekyll build --trace --strict_front_matter --verbose --safe -t --future |
|
|
|
serve: |
|
bundle exec jekyll serve --trace --future |
|
|
|
serve-global: |
|
bundle exec jekyll serve --trace --host=0.0.0.0 --port=$(PORT) --future |
|
|
|
clean: |
|
rm -rf _site |
|
|
|
.PHONY: default install-dev uninstall-dev all build serve serve-global clean
|
|
|