Преглед на файлове

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 ->

Зареждане…
Отказ
Запис