summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOscar Hellström <oscar@hellstrom.st>2010-08-24 21:54:54 +0200
committerOscar Hellström <oscar@hellstrom.st>2010-08-24 21:54:54 +0200
commit8c03d5959be4f9e14ed72bbaa3d17d0fc67412fb (patch)
tree846ac74e11962048dca4426bd03d7553e93b8c55 /Makefile
parent79546e66ffd37675b352eb8a4cdc3485fec095c1 (diff)
Make sure *both* .eunit and ebin directory exists before setting up the code path.
Normally the ebin directory doesn't contain any source files. Therefore it won't be kept in the repository by, at least, mercurial and also maybe git unless you put some .keep file in it or do some other hack. The ebin directory is created by rebar compile, but if rebar eunit is called before rebar compile, you end up with a {'EXIT', {{badmatch,{error,bad_directory}},...}. Another approach would be not to match cod:add_pathz(ebin_dir()) with ok, but I think this is an ok solution as well.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions