瀏覽代碼

Try previous commit again; make sure include/ directory exists

pull/3/head
Dave Smith 15 年之前
父節點
當前提交
66fa90ce6c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rebar_protobuffs_compiler.erl

+ 1
- 1
src/rebar_protobuffs_compiler.erl 查看文件

@ -110,7 +110,7 @@ compile_each([{Proto, Beam, Hrl} | Rest]) ->
%% into the ebin/ and include/ directories respectively
%% TODO: Protobuffs really needs to be better about this...sigh.
[] = 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])),
ok;
Other ->

Loading…
取消
儲存