Skip to content

Commit ec15bd2

Browse files
committed
Compile exbin only if it changed.
1 parent 03e2106 commit ec15bd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ test: deps all
4242
release: all test
4343
dialyzer --src src $(DIALYZER_WARNINGS)
4444

45-
compile_elixir:
45+
exbin: lib/*.ex lib/*/*.ex
4646
@$(ERL) -s elixir_compiler core -s erlang halt

rebar.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@
4646
{eunit, "cp exbin/* .eunit/"}
4747
]}.
4848

49-
{post_hooks, [{compile, "erl -noshell -pa ebin -s elixir_compiler core -s erlang halt"}]}.
49+
{post_hooks, [{compile, "make exbin"}]}.

0 commit comments

Comments
 (0)