mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Try previous commit again; make sure include/ directory exists
This commit is contained in:
parent
dce1673fdb
commit
66fa90ce6c
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ compile_each([{Proto, Beam, Hrl} | Rest]) ->
|
||||||
%% into the ebin/ and include/ directories respectively
|
%% into the ebin/ and include/ directories respectively
|
||||||
%% TODO: Protobuffs really needs to be better about this...sigh.
|
%% TODO: Protobuffs really needs to be better about this...sigh.
|
||||||
[] = os:cmd(?FMT("mv ~s ebin", [Beam])),
|
[] = os:cmd(?FMT("mv ~s ebin", [Beam])),
|
||||||
filelib:ensure_dir(Hrl),
|
filelib:ensure_dir(filename:join("include", Hrl)),
|
||||||
[] = os:cmd(?FMT("mv ~s include", [Hrl])),
|
[] = os:cmd(?FMT("mv ~s include", [Hrl])),
|
||||||
ok;
|
ok;
|
||||||
Other ->
|
Other ->
|
||||||
|
|
Loading…
Reference in a new issue