Skip to content
This repository has been archived by the owner on May 27, 2019. It is now read-only.

Commit

Permalink
Update makefile to generate standalone binary
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspiller committed Apr 27, 2013
1 parent cb1de17 commit c5f15ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
ebin
deps
.eunit
bin/espec
9 changes: 7 additions & 2 deletions Makefile
@@ -1,17 +1,22 @@
all: compile
all: generate

deps:
./rebar get-deps

compile: deps
./rebar compile

generate: compile
./rebar escriptize
mv espec bin/espec

dev: compile
erl -pa deps/*/ebin -pa ebin -s inets start -s reloader start

spec: compile
spec: generate
./bin/espec spec

clean:
./rebar clean
rm -Rf .eunit
rm -Rf bin/espec

0 comments on commit c5f15ec

Please sign in to comment.