Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' into parsing_json_with_erlang

  • Loading branch information...
commit bde321b38b822457895c248f0f707448530aa4ad 2 parents e5a6ac2 + 8c716bf
@guedes authored
Showing with 8 additions and 9 deletions.
  1. +8 −9 Makefile
View
17 Makefile
@@ -6,27 +6,26 @@ EXBIN_DIR=exbin
compile: ebin exbin
exbin: lib/*.ex
- @ rm -f ${EXBIN_DIR}/::*.beam
+ @ rm -f ${EBIN_DIR}/::*.beam
@ echo Compiling Elixir code ...
- @ mkdir -p $(EXBIN_DIR)
- @ touch $(EXBIN_DIR)
- elixirc -pa ${EBIN_DIR} lib/*/*/*.ex lib/*/*.ex lib/*.ex -o $(EXBIN_DIR)
+ @ mkdir -p ${EBIN_DIR}
+ @ touch ${EBIN_DIR}
+ elixirc --docs -pa ${EBIN_DIR} lib/*/*/*.ex lib/*/*.ex lib/*.ex -o ${EBIN_DIR}
@ echo
ebin: src/*.erl
@ rm -f ${EBIN_DIR}/::*.beam
@ echo Compiling Erlang code ...
- @ mkdir -p $(EBIN_DIR)
- @ touch $(EBIN_DIR)
+ @ mkdir -p ${EBIN_DIR}
+ @ touch ${EBIN_DIR}
erlc -o ${EBIN_DIR} src/*.erl
@ echo
test: compile
@ echo Running tests ...
- time elixir -pa ${EXBIN_DIR} -pa ${EBIN_DIR} -r "test/**/*_test.exs"
+ time elixir -pa ${EBIN_DIR} -r "test/**/*_test.exs"
@ echo
clean:
- rm -rf $(EBIN_DIR)
- rm -rf $(EXBIN_DIR)
+ rm -rf ${EBIN_DIR}
@ echo
Please sign in to comment.
Something went wrong with that request. Please try again.