-
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.
When publishing, check only the published project's dependencies, not…
… all workspace dependencies (#1314)
- Loading branch information
Showing
8 changed files
with
73 additions
and
4 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
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
27 changes: 27 additions & 0 deletions
27
test-fixtures/publish/1307-publish-dependencies/expected-stderr.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,27 @@ | ||
Reading Spago workspace configuration... | ||
|
||
✓ Selecting package to build: root | ||
|
||
Downloading dependencies... | ||
Building... | ||
Src Lib All | ||
Warnings 0 0 0 | ||
Errors 0 0 0 | ||
|
||
✓ Build succeeded. | ||
|
||
Passed preliminary checks. | ||
‼ Spago is in offline mode - not pushing the git tag v0.0.1 | ||
Building again with the build plan from the solver... | ||
Building... | ||
Src Lib All | ||
Warnings 0 0 0 | ||
Errors 0 0 0 | ||
|
||
✓ Build succeeded. | ||
|
||
|
||
✓ Ready for publishing. Calling the registry.. | ||
|
||
|
||
✘ Spago is offline - not able to call the Registry. |
14 changes: 14 additions & 0 deletions
14
test-fixtures/publish/1307-publish-dependencies/spago.yaml
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,14 @@ | ||
package: | ||
name: root | ||
dependencies: | ||
- prelude: ">=6.0.1 <7.0.0" | ||
- effect: ">=4.0.0 <5.0.0" | ||
publish: | ||
version: 0.0.1 | ||
license: MIT | ||
location: | ||
githubOwner: purescript | ||
githubRepo: aaa | ||
workspace: | ||
packageSet: | ||
registry: 62.2.5 |
7 changes: 7 additions & 0 deletions
7
test-fixtures/publish/1307-publish-dependencies/src/Main.purs
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,7 @@ | ||
module Root where | ||
|
||
import Prelude | ||
import Effect (Effect) | ||
|
||
main :: Effect Unit | ||
main = pure unit |
8 changes: 8 additions & 0 deletions
8
test-fixtures/publish/1307-publish-dependencies/subdir/spago.yaml
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,8 @@ | ||
package: | ||
name: subdir | ||
dependencies: | ||
- root | ||
- prelude | ||
publish: | ||
version: 0.0.1 | ||
license: MIT |
4 changes: 4 additions & 0 deletions
4
test-fixtures/publish/1307-publish-dependencies/subdir/src/Main.purs
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,4 @@ | ||
module Subdir where | ||
|
||
anExport :: String | ||
anExport = "Hello, World!" |
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