Provides Phoenix-specific Bootleg tasks.
These tasks are automatically wired up to the appropriate build steps in Bootleg, making deployment of Phoenix apps via Bootleg as smooth as a wheated whiskey.
The package can be installed by adding bootleg_phoenix
to your list of dependencies in mix.exs
:
def deps do
[{:distillery, "~> 1.5"},
{:bootleg, "~> 0.7"},
{:bootleg_phoenix, "~> 0.2"}]
end
Open package.json
and add the following to your scripts
section:
"build": "webpack --mode production --progress --colors"
This package provides the following tasks to your project's bootleg environment.
This task makes sure your NPM dependencies are up-to-date and npm
can build your assets, then does a
mix phoenix.digest
after the Bootleg compile
task completes.
We welcome everyone to contribute to Bootleg-Phoenix and help us tackle existing issues!
Use the issue tracker for bug reports or feature requests. Open a pull request when you are ready to contribute.
If you are planning to contribute documentation, please check the best practices for writing documentation.
Bootleg-Phoenix source code is released under the MIT License. Check the LICENSE file for more information.