Skip to content

Commit

Permalink
Replace all occurences of mix phoenix with mix phx (phoenixframew…
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutter authored and chrismccord committed May 30, 2017
1 parent 9a18c29 commit 4ff5a3e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion installer/templates/phx_single/config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use Mix.Config
#
# Finally, we also include the path to a cache manifest
# containing the digested version of static files. This
# manifest is generated by the mix phoenix.digest task
# manifest is generated by the mix phx.digest task
# which you typically run after static files are built.
config :<%= web_app_name %>, <%= endpoint_module %>,
load_from_system_env: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use Mix.Config
#
# Finally, we also include the path to a cache manifest
# containing the digested version of static files. This
# manifest is generated by the mix phoenix.digest task
# manifest is generated by the mix phx.digest task
# which you typically run after static files are built.
config :<%= web_app_name %>, <%= endpoint_module %>,
load_from_system_env: true,
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/tasks/phx.gen.secret.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule Mix.Tasks.Phx.Gen.Secret do
mix phx.gen.secret [length]
By default, mix phoenix.gen.secret generates a key 64 characters long.
By default, mix phx.gen.secret generates a key 64 characters long.
The minimum value for `length` is 32.
"""
Expand Down
4 changes: 2 additions & 2 deletions lib/phoenix/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ defmodule Phoenix.Endpoint do
* `:cache_static_manifest` - a path to a json manifest file that contains
static files and their digested version. This is typically set to
"priv/static/cache_manifest.json" which is the file automatically generated
by `mix phoenix.digest`.
by `mix phx.digest`.
* `:check_origin` - configure transports to check origins or not. May
be false, true or a list of hosts that are allowed. Hosts also support
Expand Down Expand Up @@ -129,7 +129,7 @@ defmodule Phoenix.Endpoint do
Defaults to `nil` as it must be set per application.
* `:server` - when `true`, starts the web server when the endpoint
supervision tree starts. Defaults to `false`. The `mix phoenix.server`
supervision tree starts. Defaults to `false`. The `mix phx.server`
task automatically sets this to `true`.
* `:url` - configuration for generating URLs throughout the app.
Expand Down
2 changes: 1 addition & 1 deletion lib/phoenix/endpoint/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ defmodule Phoenix.Endpoint.Supervisor do
manifest["latest"] || manifest
else
Logger.error "Could not find static manifest at #{inspect outer}. " <>
"Run \"mix phoenix.digest\" after building your static files " <>
"Run \"mix phx.digest\" after building your static files " <>
"or remove the configuration from \"config/prod.exs\"."
end
else
Expand Down
6 changes: 3 additions & 3 deletions lib/phoenix/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ defmodule Phoenix.Router do
resources "/users", UserController, except: [:delete]
end
Finally, Phoenix ships with a `mix phoenix.routes` task that nicely
Finally, Phoenix ships with a `mix phx.routes` task that nicely
formats all routes in a given router. We can use it to verify all
routes included in the router above:
$ mix phoenix.routes
$ mix phx.routes
page_path GET /pages/:id PageController.show/2
user_path GET /users UserController.index/2
user_path GET /users/:id/edit UserController.edit/2
Expand All @@ -147,7 +147,7 @@ defmodule Phoenix.Router do
One can also pass a router explicitly as an argument to the task:
$ mix phoenix.routes MyApp.Web.Router
$ mix phx.routes MyApp.Web.Router
Check `scope/2` and `resources/4` for more information.
Expand Down

0 comments on commit 4ff5a3e

Please sign in to comment.