🔖🚧 Initial commit
This commit is contained in:
commit
da5dd153e3
10 changed files with 588 additions and 0 deletions
20
Makefile
Normal file
20
Makefile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
export PATH := $(HOME)/bin:$(PATH):/usr/local/bin
|
||||
|
||||
POINT=$(shell echo $$((RANDOM%79+128512)) )
|
||||
EMOJI=$(shell printf '%x' $(POINT) )
|
||||
|
||||
all: deploy
|
||||
|
||||
build:
|
||||
true
|
||||
|
||||
stage: build
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue