wende / elchemy

Write Elixir code using statically-typed Elm-like syntax (compatible with Elm tooling)

Home Page:https://wende.github.io/elchemy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Clean makes init not able to work

deke opened this issue · comments

In Elchemy 0.7.2, after running elchemy clean, elchemy init fails with:

** (Code.LoadError) could not load .elchemy.exs
(elixir) lib/code.ex:1022: Code.find_file/2
(elixir) lib/code.ex:601: Code.eval_file/2
mix.exs:12: Myapp.MixProject.project/0
(mix) lib/mix/project.ex:676: Mix.Project.get_project_config/1
(mix) lib/mix/project.ex:111: Mix.Project.push/3

Steps to reproduce:
elchemy new myapp
cd myapp
elchemy clean
elchemy init

Good eye. New PR opened. A review/discussion welcome 👍

Fix released in 0.7.3