[erlang-questions] Release building path question
Vance Shipley
vances@REDACTED
Sat Sep 27 18:39:16 CEST 2008
Dan,
Use the {path,[Dir]} option to systools:make_tar/2:
systools:make_tar(foo, [{path, "../*/ebin"}])
There is some magic which picks up files based on where
it expects them to be. Be sure to structure the directories
properly; foo/ebin, foo/src, foo/priv, bar/ebin, bar/src,
bar/priv. Add the option {dirs, [IncDir]} to include any
extra directories:
systools:make_tar(foo, [{path, "../*/ebin"},{dirs, [src,priv]}])
That should do it.
-Vance
On Sat, Sep 27, 2008 at 11:49:02AM +0100, Dan Rubino wrote:
} Is there some way of setting a path i.e. each apps ebin directory so
} that the release builder can pick them up?
More information about the erlang-questions
mailing list