integrate .formatter.exs files
parent
78fbe1c4ad
commit
1813072429
|
@ -1,5 +0,0 @@
|
|||
[
|
||||
import_deps: [:ecto, :phoenix],
|
||||
inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"],
|
||||
subdirectories: ["priv/*/migrations"]
|
||||
]
|
|
@ -20,3 +20,4 @@ lipu_kasi-*.tar
|
|||
|
||||
/mix.exs
|
||||
# /mix.lock is checked in.
|
||||
.formatter.exs
|
||||
|
|
20
phoenix.org
20
phoenix.org
|
@ -39,6 +39,7 @@ Files which are provided from tangles will need to be managed here:
|
|||
#+begin_src conf :noweb-ref tangled-files
|
||||
/mix.exs
|
||||
# /mix.lock is checked in.
|
||||
.formatter.exs
|
||||
#+end_src
|
||||
|
||||
This file should be checked in when it's changed, along with =mix.lock=
|
||||
|
@ -125,3 +126,22 @@ In =:test= environment
|
|||
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
||||
defp elixirc_paths(_), do: ["lib"]
|
||||
#+end_src
|
||||
|
||||
* Formatters
|
||||
|
||||
There are two =.formatter.exs= files, one in the project root, and one stored with the migrations. I'm not sure if this will be used by the org-babel programming, but I'll provide them for now so that I can =git clean=
|
||||
|
||||
#+begin_src elixir :tangle .formatter.exs
|
||||
[
|
||||
import_deps: [:ecto, :phoenix],
|
||||
inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"],
|
||||
subdirectories: ["priv/*/migrations"]
|
||||
]
|
||||
#+end_src
|
||||
|
||||
#+begin_src elixir :tangle priv/repo/migrations/.formatter.exs
|
||||
[
|
||||
import_deps: [:ecto_sql],
|
||||
inputs: ["*.exs"]
|
||||
]
|
||||
#+end_src
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[
|
||||
import_deps: [:ecto_sql],
|
||||
inputs: ["*.exs"]
|
||||
]
|
Loading…
Reference in New Issue