Skip to content

Instantly share code, notes, and snippets.

@manpages
Created May 31, 2012 20:13
Show Gist options
  • Save manpages/2845914 to your computer and use it in GitHub Desktop.
Save manpages/2845914 to your computer and use it in GitHub Desktop.
Garry's Makefile For Esli
# Makefile for esli
# Artem Golovinsky <[email protected]>
REBAR = ./rebar
REL_ROOT = rel/esli
HTDOCS = $(REL_ROOT)/var/htdocs
all: get-deps compile generate
get-deps:
$(REBAR) get-deps
compile: get-deps
$(REBAR) compile
generate: get-deps compile
$(REBAR) generate
chmod 755 $(REL_ROOT)/bin/esli
cp -R html/* $(HTDOCS)
clean:
$(REBAR) clean
clean-all: clean
$(REBAR) delete-deps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment