Parcourir la source

Try previous commit again; make sure include/ directory exists

pull/3/head
Dave Smith il y a 15 ans
Parent
révision
66fa90ce6c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/rebar_protobuffs_compiler.erl

+ 1
- 1
src/rebar_protobuffs_compiler.erl Voir le fichier

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

Chargement…
Annuler
Enregistrer