Replace template project with an example project
authorNick Vatamaniuc <vatamane@gmail.com>
Mon, 9 May 2022 20:58:30 +0000 (16:58 -0400)
committerNick Vatamaniuc <vatamane@gmail.com>
Mon, 9 May 2022 20:58:30 +0000 (16:58 -0400)
commit0058559a4e050932d4e9234fdffdfc83e75ebba2
tree5492531aed2c92a81038687fd59c91175ae5a01e
parent3b3478c6147aadc3cb2662c37b517110efc923b5
Replace template project with an example project

Since rebar3 expects templates to be in `~/.config/rebar3/templates/` [1], opt
to instead having just an example project users can copy and update on their
own.

[1] https://www.rebar3.org/docs/tutorials/templates
19 files changed:
README.md
examples/example_project/.gitignore [new file with mode: 0644]
examples/example_project/Makefile [new file with mode: 0644]
examples/example_project/bench.sh [moved from support/templates/mochiwebapp_skel/bench.sh with 92% similarity]
examples/example_project/priv/www/index.html [moved from support/templates/mochiwebapp_skel/priv/www/index.html with 73% similarity]
examples/example_project/rebar.config [moved from support/templates/mochiwebapp_skel/rebar.config with 68% similarity]
examples/example_project/src/example_project.app.src [new file with mode: 0644]
examples/example_project/src/example_project.erl [new file with mode: 0644]
examples/example_project/src/example_project_app.erl [new file with mode: 0644]
examples/example_project/src/example_project_deps.erl [moved from support/templates/mochiwebapp_skel/src/mochiapp_deps.erl with 94% similarity]
examples/example_project/src/example_project_sup.erl [moved from support/templates/mochiwebapp_skel/src/mochiapp_sup.erl with 77% similarity]
examples/example_project/src/example_project_web.erl [moved from support/templates/mochiwebapp_skel/src/mochiapp_web.erl with 90% similarity]
examples/example_project/start-dev.sh [new file with mode: 0755]
support/templates/.gitignore [deleted file]
support/templates/mochiwebapp.template [deleted file]
support/templates/mochiwebapp_skel/src/mochiapp.app.src [deleted file]
support/templates/mochiwebapp_skel/src/mochiapp.erl [deleted file]
support/templates/mochiwebapp_skel/src/mochiapp_app.erl [deleted file]
support/templates/mochiwebapp_skel/start-dev.sh [deleted file]