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.
 
 
 
 

37 lines
689 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
pipenv graph
pipenv check
uninstall-dev:
rm -f Pipfile.lock
pipenv --rm
update:
pipenv run pre-commit autoupdate
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