Search code examples
erlangbuild-process

Is it possible to copy src/myapp.app.src to ebin/myapp.app in Emakefile?


I would like to keep my erlang app file in src/<myapp>.app.src and copy it to ebin/<myapp>.app when I build. Ideally, I'd like to use Emakefile to build, but I don't see an option for copying a file, only for compiling targets.

Is there a compile option that I'm missing?


Solution

  • I know this doesn't answer exactly to your question, but if you build your application with rebar you will get this feature (and much more)