Skip to content

Commit

Permalink
chore: Rename priv/plts to dialyzer/plts (#194)
Browse files Browse the repository at this point in the history
- Remove tip about error with `dialyzer`
  • Loading branch information
aifrak authored Dec 4, 2021
1 parent 5792a27 commit 071cc3c
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
~r"/doc/",
~r"/node_modules/",
~r"/npm_cache/",
~r"/priv/plts/"
~r"/dialyzer/plts/"
]
},
checks: %{
Expand Down
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ doc/
.elixir_ls/

# Dialyzer
priv/plts/
dialyzer/plts/
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
uses: actions/[email protected]
with:
path: |
**/priv/plts
**/dialyzer/plts
key: |
${{ runner.os }}-dialyzer-plts-${{ steps.versions.outputs.elixir }}-${{ steps.versions.outputs.erlang }}
restore-keys: |
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ config/*.secret.exs
.elixir_ls/

# Dialyzer
priv/plts/
dialyzer/plts/

# Sobelow
.sobelow
Expand Down
2 changes: 1 addition & 1 deletion .markdownlintignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ doc/
.elixir_ls/

# Dialyzer
priv/plts/
dialyzer/plts/
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ doc/
.elixir_ls/

# Dialyzer
priv/plts/
dialyzer/plts/

# see ./docs/setup.md in "Known issues" section
*.eex
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore-eex
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ doc/
.elixir_ls/

# Dialyzer
priv/plts/
dialyzer/plts/

# see ./docs/setup.md in "Known issues" section
!*.eex
Expand Down
2 changes: 1 addition & 1 deletion .stylelintignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ doc/
.elixir_ls/

# Dialyzer
priv/plts/
dialyzer/plts/
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"**/doc/**": true,
"**/erl_crash.dump": true,
// Dialyzer
"**/priv/plts": true
"**/dialyzer/plts": true
},
"files.exclude": {
"**/.git": true,
Expand All @@ -57,7 +57,7 @@
"**/doc": true,
"**/erl_crash.dump": true,
// Dialyzer
"**/priv/plts": true
"**/dialyzer/plts": true
},

// Git:
Expand Down Expand Up @@ -89,7 +89,7 @@
"**/deps/**",
"**/doc/**",
// Dialyzer
"**/priv/plts/**"
"**/dialyzer/plts/**"
],

// Comments:
Expand Down
4 changes: 2 additions & 2 deletions cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ ignorePaths:
- "**/node_modules/**"
- "**/npm_cache/**"
- "**/package-lock.json"
- "**/priv/plts/*.plt.hash"
- "**/priv/plts/*.plt"
- "**/dialyzer/plts/*.plt.hash"
- "**/dialyzer/plts/*.plt"
- "**/spellcheck/**"
- "**/vscode-extension/**"
# Text is generated automatically.
Expand Down
5 changes: 0 additions & 5 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,3 @@ description of `remoteUser` and `updateRemoteUserUID` on this [page](https://cod
1. `husky` pre-commit is not triggered.

**Solution**: Run `npm install`.

1. `mix dialyxir` shows
`:dialyzer.run error: Old PLT file /app/priv/plts/dialyzer.plt`:

**Solution**: Delete all files under `priv/plts/*` and run `mix dialyxir` again.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ defmodule App.MixProject do
:mix
],
plt_add_deps: :apps_direct,
plt_local_path: "priv/plts"
plt_local_path: "dialyzer/plts"
]
end

Expand Down
2 changes: 1 addition & 1 deletion scripts/run/html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function html:lint {
**/doc/**
**/node_modules/**
**/npm_cache/**
**/priv/plts/**
**/dialyzer/plts/**
)

local ignore_string="${ignore_globs[*]}"
Expand Down

0 comments on commit 071cc3c

Please sign in to comment.