1
Fork 0
I write things sometimes. https://flower.codes
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.
 
 
 
 
 
flower.codes/Makefile

31 lines
640 B

SHELL := /bin/bash
BUNDLE := bundle
JEKYLL := $(BUNDLE) exec jekyll
PROJECT_DEPS := Gemfile
.PHONY: all clean install update
all: http gopher
install: $(PROJECT_DEPS)
$(BUNDLE) install
update: $(PROJECT_DEPS)
$(BUNDLE) update
http: install
JEKYLL_ENV=production $(JEKYLL) build --verbose --config _config.http.yml
gopher: install
JEKYLL_ENV=production $(JEKYLL) build --verbose --config _config.gopher.yml
serve: install
JEKYLL_ENV=development $(JEKYLL) serve --config _config.http.yml --future --drafts
degrade:
./bin/degrade.sh
clean:
$(JEKYLL) clean --config _config.http.yml
$(JEKYLL) clean --config _config.gopher.yml