Skip to content

Instantly share code, notes, and snippets.

@bit-dragon
Created June 4, 2012 20:04
Show Gist options
  • Save bit-dragon/2870549 to your computer and use it in GitHub Desktop.
Save bit-dragon/2870549 to your computer and use it in GitHub Desktop.
Basic structure of Jekill
all: install
install:
@echo Installing the basic structure
@mkdir -p _includes _layouts _posts _site
@touch _layouts/default.html _layouts/post.html
@touch _posts/2007-10-29-why-every-programmer-should-play-nethack.md
@touch _posts/2009-04-26-barcamp-boston-4-roundup.md
@touch index.html _config.yml
@echo Done
uninstall:
@echo Removing all files and directories
@rm -r index.html, _config.yml
@rm -r _posts/2009-04-26-barcamp-boston-4-roundup.md
@rm -r _posts/2007-10-29-why-every-programmer-should-play-nethack.md
@rm -r _layouts/default.html, /_layouts/post.html
@rm -r _includes, _layouts, _posts, _site
.PHONY: all install uninstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment