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:08:44 +0200
commit3e43d0c819e95a75b850c298cfe9904ed180ac16 (patch)
tree2a14ada6b5a0332a0e4a83d4af2d5893c486cb06
parent838828891320fd5b6c97df74327c6163521517cc (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 e084ab5..aa96290 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
build all:
- erl -make
+ erl -pa ../lager/ebin -make
clean:
-rm ebin/*.beam
release: