[erlang-questions] [ANN] erlang.mk 1.0

Christopher Vance cjsvance@REDACTED
Sun Aug 3 12:02:57 CEST 2014


What is the idiomatic erlang.mk way to replace rebar's platform_define
feature?

I have code running on different Erlang versions which cross the
deprecation boundary for crypto functions, and I'd like my code to adapt
appropriately.


On Fri, Aug 1, 2014 at 11:07 PM, Loïc Hoguin <essen@REDACTED> wrote:

> Hello!
>
> erlang.mk 1.0 has been released.
>
> erlang.mk is a GNU Make based build system with bootstrap and package
> index features that make life so much better.
>
>   https://github.com/ninenines/erlang.mk
>
> Going from 0 to release is a 5 steps process with erlang.mk.
>
>  *  # Create a directory for your application
>  *  # Download erlang.mk into that directory
>  *  make -f erlang.mk bootstrap bootstrap-rel
>  *  make
>  *  ./_rel/your_release/bin/your_release console
>
> And if you want to use a third party project, like Cowboy, you simply need
> to add this one line to your Makefile and then run make again:
>
>  *  DEPS = cowboy
>
> That's really it!
>
> A note for previous users: a few small things changed since the previous
> version. You can take a look at the Cowboy or Ranch repositories for
> details. It's mostly a number of things you don't have to do anymore so
> it's a quick upgrade, just delete a few lines! This new version is
> compatible with projects using an older erlang.mk so you can update at
> your own pace.
>
> Don't forget to add your Make-powered projects to the package index file
> and send a PR to make everyone's life better!
>
> Enjoy!
>
> --
> Loïc Hoguin
> http://ninenines.eu
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



-- 
Christopher Vance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140803/63909961/attachment.htm>


More information about the erlang-questions mailing list