From e59e1a69b68ecbad7e0e174032e4e930f6a341f7 Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Tue, 23 Jan 2018 12:25:24 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Use=20built-in=20jekyll=20serve,?= =?UTF-8?q?=20rather=20than=20php=20server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 19 ++++--------------- _config.yml | 3 --- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index e3d65e1..dd81b13 100644 --- a/Makefile +++ b/Makefile @@ -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' diff --git a/_config.yml b/_config.yml index 900be4f..465b2d5 100644 --- a/_config.yml +++ b/_config.yml @@ -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