Devtools
Dev tools
mix devtools.docker_build your-app-name
mix devtools.docker_push
mix devtools.remote_console my-mega-app orgname/image| Command | Description |
|---|---|
| mix devtools.major | Will bump major version and push to github. I.e. v1.1.1 -> v2.0.0 |
| mix devtools.minor | Will bump minor version and push to github. I.e. v1.1.1 -> v1.2.0 |
| mix devtools.patch | Will bump patch version and push to github. I.e. v1.1.1 -> v1.1.1 |
| mix devtools.pre | Will bump or create pre-release version and push to github. I.e. v1.1.1 -> v1.1.1-0 or v1.1.1-0 -> v1.1.1-1 |
| mix devtools.tag | Will create git tag with version from your mix.exs and push it to github |
| mix devtools.init_test path/to/file/you/need/test/for.ex | Will create empty test file for file name you've provided |
Installation
Available in Hex, the package can be installed
by adding devtools to your list of dependencies in mix.exs:
def deps do
[
{:devtools, "~> 2.0.7"}
]
endRelease
mix run -e "Mix.Tasks.Devtools.Patch.run([])"
mix run -e "Mix.Tasks.Devtools.Tag.run({})"
MIX_ENV=dev mix hex.publish