summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-04-22 21:43:59 -0500
committerTristan Sloughter <t@crashfast.com>2015-04-22 21:43:59 -0500
commit16e9b3ffa2ddd81e26238530fd1e25a54a42b7dc (patch)
treec0a547163cfa739bf6d319a1dc39eb2391b748a6 /bootstrap
parent4374999d9567acf93fbd3515aa19319c4e502390 (diff)
fix tracking of all profiles dep paths
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap3
1 files changed, 1 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 7409cbe..8f7af30 100755
--- a/bootstrap
+++ b/bootstrap
@@ -90,8 +90,7 @@ compile(App, FirstFiles) ->
bootstrap_rebar3() ->
filelib:ensure_dir("_build/default/lib/rebar/ebin/dummy.beam"),
- filelib:ensure_dir("_build/default/lib/rebar/src/dummy.erl"),
- ec_file:copy("src", "_build/default/lib/rebar/src", [recursive]),
+ file:make_symlink(filename:absname("src"), filename:absname("_build/default/lib/rebar/src")),
Sources = filelib:wildcard("src/*.erl"),
[compile:file(X, [{outdir, "_build/default/lib/rebar/ebin/"}]) || X <- Sources],
code:add_path(filename:absname("_build/default/lib/rebar/ebin")).