Packages

Project repository template to set up all public Phoenix projects at Nimble

Current section

Files

Jump to
nimble_phx_gen_template lib nimble.phx.gen.template addons makefile.ex
Raw

lib/nimble.phx.gen.template/addons/makefile.ex

defmodule Nimble.Phx.Gen.Template.Addons.Makefile do
use Nimble.Phx.Gen.Template.Addon
@impl true
def do_apply(%Project{} = project, _opts) do
Generator.copy_file([{:text, "Makefile", "Makefile"}])
project
end
end