summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-10-24 04:08:44 +0200
committerLinus Nordberg <linus@nordberg.se>2014-10-24 11:04:47 +0200
commit5aa3ec1345e15c74efc2f08a146eeb412550d428 (patch)
treeb96a2754df2c450b3d9cf083a4c9bcfa8cd30531
parente820d0b615c935c71aca70b5a9d89388de8230c0 (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: