Files
sceptre/docs/Makefile
James Routley f40f40b73f Fix broken links
The new website contained several broken links. This commit fixes all
broken links.
2017-07-21 12:00:43 -04:00

37 lines
722 B
Makefile

.PHONY: clean
SHA1 = $(shell git rev-parse --short HEAD)
GIT_TAG = $(shell git describe --abbrev=0 --tags | sed 's/\./-/g')
install:
bundle install --path vendor
clean:
rm -rf _site/
rm -rf .sass-cache/
build-latest: clean
bundle exec jekyll build --baseurl /latest
build-tag: clean
bundle exec jekyll build --baseurl /$(GIT_TAG)
build-dev: clean
bundle exec jekyll build --baseurl /dev
build-commit: clean
bundle exec jekyll build --baseurl /$(SHA1)
serve-latest: clean
bundle exec jekyll serve --baseurl /latest
serve-tag: clean
bundle exec jekyll serve --baseurl /$(GIT_TAG)
serve-dev: clean
bundle exec jekyll serve --baseurl /dev
serve-commit: clean
bundle exec jekyll serve --baseurl /$(SHA1)