summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-10-24 04:08:44 +0200
committerMagnus Ahltorp <map@kth.se>2014-10-24 04:59:00 +0200
commit02c3707c03bdcc607b05c0fdbfaeaa7f65774de9 (patch)
tree4aa1a538670ab0f587a16128e74cb6f7f1a1954d
parentd008238b16416daf46f859e611f4c84d0a646523 (diff)
Compile with parse_transform from lager
-rw-r--r--Emakefile3
-rw-r--r--Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/Emakefile b/Emakefile
index a42a6ee..f6cea09 100644
--- a/Emakefile
+++ b/Emakefile
@@ -2,4 +2,5 @@
{["src/*", "test/*"],
[debug_info,
{i, "include/"},
- {outdir, "ebin/"}]}.
+ {outdir, "ebin/"},
+ {parse_transform, lager_transform}]}.
diff --git a/Makefile b/Makefile
index b446536..78f8a6b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
build all:
- erl -make
+ erl -pa ../lager/ebin -make
clean:
-rm ebin/*.beam
release: