Skip to content

Commit

Permalink
Move dialyzer plt files around
Browse files Browse the repository at this point in the history
They aren't huge, but when publishing mix just wanted to include
them. I could use the `files` option to exclude them but then
manually maintain that list and... I don't want to.

Having them in a separate folder seems better anyhow.
  • Loading branch information
PragTob committed Mar 8, 2022
1 parent ce5577c commit 2547b54
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Restore plts
uses: actions/cache@v2
with:
path: priv/plts
path: tools/plts
key: ${{ runner.os }}-dialyzer-${{ matrix.elixir_version }}-${{ matrix.otp_version }}-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- run: mix deps.get
- run: MIX_ENV=test mix compile --warnings-as-errors
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ benchee-*.tar
# Misc.
save.benchee
/test/tmp/
/priv/plts/benchee.plt
/priv/plts/benchee.plt.hash
/tools/plts/benchee.plt
/tools/plts/benchee.plt.hash
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defmodule Benchee.Mixfile do
],
dialyzer: [
flags: [:unmatched_returns, :error_handling, :race_conditions, :underspecs],
plt_file: {:no_warn, "priv/plts/benchee.plt"}
plt_file: {:no_warn, "tools/plts/benchee.plt"}
],
name: "Benchee",
description: """
Expand Down
File renamed without changes.

0 comments on commit 2547b54

Please sign in to comment.