🛠 Use built-in jekyll serve, rather than php server

This commit is contained in:
Dan Jones 2018-01-23 12:25:24 -06:00
commit e59e1a69b6
2 changed files with 4 additions and 18 deletions

View file

@ -1,20 +1,9 @@
export PATH := $(HOME)/bin:$(PATH):/usr/local/bin
POINT=$(shell echo $$((RANDOM%79+128512)) )
EMOJI=$(shell printf '%x' $(POINT) )
all: serve
all: deploy
build:
true
stage: build
stage:
bundle exec jekyll build -c '_config.yml,_config.local.yml'
serve: stage
cd _site; php -S localhost:9090
deploy: build
git add -A _posts _data archives
git commit -m "[Add] `printf "\U$(EMOJI)"` `date`: `fortune -s -n 61 | tr '\n' ' ' | sed -r 's/[[:blank:]]+/ /g'`"
git push origin master
serve:
bundle exec jekyll serve -c '_config.yml,_config.local.yml'

View file

@ -61,9 +61,6 @@ baseurl: "/danielrayjones"
permalink: /:year/:month/:title/
# The release of Jekyll Now that you're using
version: v1.2.0
# Jekyll 3 now only supports Kramdown for Markdown
kramdown:
# Use GitHub flavored markdown, including triple backtick fenced code blocks