Skip to content

bryantbj/rename

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rename

For the indecisive developer

Renames all files, modules, otp statements, etc in most standard Elixir applications

Build Status Hex Version

Install

Add to your mix dependencies in mix.exs

# mix.exs
defp deps do
  [
    {:rename, "~> 0.1.0", only: :dev}
  ]
end

and install

mix deps.get

Usage

You can run it as a mix task

mix rename OldAppName NewAppName old_app_otp new_app_top

Or from Elixir

Rename.run(
  {"OldAppName", "NewAppName"},
  {"old_app_otp", "new_app_otp"},
  ignore_files: "./lib/old_app_otp/sacred.ex" # optional options
)

About

Rename your Elixir apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%