-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove src deps from test deps on
--pedantic-packages
report (#1092)
Co-authored-by: Fabrizio Ferrai <fabrizio.ferrai@gmail.com>
- Loading branch information
1 parent
c9fd17b
commit 2f272e6
Showing
14 changed files
with
540 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
test-fixtures/check-direct-import-transitive-dependency.txt
This file was deleted.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
test-fixtures/pedantic/check-direct-import-transitive-dependency-both.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Reading Spago workspace configuration... | ||
Read the package set from the registry | ||
|
||
β Selecting package to build: pedantic | ||
|
||
Downloading dependencies... | ||
Building... | ||
Src Lib All | ||
Warnings 0 0 0 | ||
Errors 0 0 0 | ||
|
||
β Build succeeded. | ||
|
||
Looking for unused and undeclared transitive dependencies... | ||
|
||
β Sources for package 'pedantic' import the following transitive dependencies - please add them to the project dependencies, or remove the imports: | ||
maybe | ||
from `Main`, which imports: | ||
Data.Maybe | ||
|
||
|
||
Run the following command to install them all: | ||
spago install -p pedantic maybe | ||
|
||
|
||
β Tests for package 'pedantic' import the following transitive dependencies - please add them to the project dependencies, or remove the imports: | ||
control | ||
from `Test.Main`, which imports: | ||
Control.Alt | ||
|
||
|
||
Run the following command to install them all: | ||
spago install --test-deps -p pedantic control |
23 changes: 23 additions & 0 deletions
23
test-fixtures/pedantic/check-direct-import-transitive-dependency-test.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Reading Spago workspace configuration... | ||
Read the package set from the registry | ||
|
||
β Selecting package to build: pedantic | ||
|
||
Downloading dependencies... | ||
Building... | ||
Src Lib All | ||
Warnings 0 0 0 | ||
Errors 0 0 0 | ||
|
||
β Build succeeded. | ||
|
||
Looking for unused and undeclared transitive dependencies... | ||
|
||
β Tests for package 'pedantic' import the following transitive dependencies - please add them to the project dependencies, or remove the imports: | ||
control | ||
from `Test.Main`, which imports: | ||
Control.Alt | ||
|
||
|
||
Run the following command to install them all: | ||
spago install --test-deps -p pedantic control |
23 changes: 23 additions & 0 deletions
23
test-fixtures/pedantic/check-direct-import-transitive-dependency.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Reading Spago workspace configuration... | ||
Read the package set from the registry | ||
|
||
β Selecting package to build: pedantic | ||
|
||
Downloading dependencies... | ||
Building... | ||
Src Lib All | ||
Warnings 0 0 0 | ||
Errors 0 0 0 | ||
|
||
β Build succeeded. | ||
|
||
Looking for unused and undeclared transitive dependencies... | ||
|
||
β Sources for package 'pedantic' import the following transitive dependencies - please add them to the project dependencies, or remove the imports: | ||
control | ||
from `Main`, which imports: | ||
Control.Alt | ||
|
||
|
||
Run the following command to install them all: | ||
spago install -p pedantic control |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Reading Spago workspace configuration... | ||
Read the package set from the registry | ||
|
||
β Selecting package to build: pedantic | ||
|
||
Downloading dependencies... | ||
Building... | ||
Src Lib All | ||
Warnings 0 0 0 | ||
Errors 0 0 0 | ||
|
||
β Build succeeded. | ||
|
||
Looking for unused and undeclared transitive dependencies... | ||
|
||
β Sources for package 'pedantic' declares unused dependencies - please remove them from the project config: | ||
- console | ||
- effect | ||
- either | ||
|
||
|
||
β Sources for package 'pedantic' import the following transitive dependencies - please add them to the project dependencies, or remove the imports: | ||
newtype | ||
from `Main`, which imports: | ||
Data.Newtype | ||
|
||
|
||
Run the following command to install them all: | ||
spago install -p pedantic newtype | ||
|
||
|
||
β Tests for package 'pedantic' declares unused dependencies - please remove them from the project config: | ||
- tuples | ||
|
||
|
||
β Tests for package 'pedantic' import the following transitive dependencies - please add them to the project dependencies, or remove the imports: | ||
either | ||
from `Test.Main`, which imports: | ||
Data.Either | ||
|
||
|
||
Run the following command to install them all: | ||
spago install --test-deps -p pedantic either |
31 changes: 31 additions & 0 deletions
31
test-fixtures/pedantic/check-unused-dependency-in-source.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Reading Spago workspace configuration... | ||
Read the package set from the registry | ||
|
||
β Selecting package to build: pedantic | ||
|
||
Downloading dependencies... | ||
Building... | ||
Src Lib All | ||
Warnings 0 0 0 | ||
Errors 0 0 0 | ||
|
||
β Build succeeded. | ||
|
||
Looking for unused and undeclared transitive dependencies... | ||
|
||
β Sources for package 'pedantic' declares unused dependencies - please remove them from the project config: | ||
- console | ||
- effect | ||
|
||
|
||
β Tests for package 'pedantic' import the following transitive dependencies - please add them to the project dependencies, or remove the imports: | ||
console | ||
from `Test.Main`, which imports: | ||
Effect.Class.Console | ||
effect | ||
from `Test.Main`, which imports: | ||
Effect | ||
|
||
|
||
Run the following command to install them all: | ||
spago install --test-deps -p pedantic console effect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
test-fixtures/pedantic/check-unused-source-and-test-dependency.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Reading Spago workspace configuration... | ||
Read the package set from the registry | ||
|
||
β Selecting package to build: pedantic | ||
|
||
Downloading dependencies... | ||
Building... | ||
Src Lib All | ||
Warnings 0 0 0 | ||
Errors 0 0 0 | ||
|
||
β Build succeeded. | ||
|
||
Looking for unused and undeclared transitive dependencies... | ||
|
||
β Sources for package 'pedantic' declares unused dependencies - please remove them from the project config: | ||
- console | ||
- effect | ||
|
||
|
||
β Tests for package 'pedantic' declares unused dependencies - please remove them from the project config: | ||
- console | ||
- effect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.