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
550 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
uninstall-dev:
pipenv --rm
all: clean build serve-global
build:
@jekyll build --trace --strict_front_matter --verbose --safe -t --future
serve:
@jekyll serve --trace --future
serve-global:
@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