Skip to content

Commit

Permalink
refactor(build)(tests): publish tests sources (#364)
Browse files Browse the repository at this point in the history
can be useful for debugging between snapi components and main repo
components interactions
  • Loading branch information
datYori authored Feb 21, 2024
1 parent 306d840 commit ed12b37
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ outputVersion := {

// Publish settings
Test / publishArtifact := true
// Useful for debugging
Test / packageSrc / publishArtifact := true

Compile / packageSrc / publishArtifact := true
// When doing publishLocal, also publish to the local maven repository and generate the version number file.
publishLocal := (publishLocal dependsOn Def.sequential(outputVersion, publishM2)).value
Expand Down
3 changes: 3 additions & 0 deletions python-client/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ outputVersion := {

// Publish settings
Test / publishArtifact := true
// Useful for debugging
Test / packageSrc / publishArtifact := true

Compile / packageSrc / publishArtifact := true
// When doing publishLocal, also publish to the local maven repository and generate the version number file.
publishLocal := (publishLocal dependsOn Def.sequential(outputVersion, publishM2)).value
Expand Down
3 changes: 3 additions & 0 deletions snapi-client/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ outputVersion := {

// Publish settings
Test / publishArtifact := true
// Useful for debugging
Test / packageSrc / publishArtifact := true

Compile / packageSrc / publishArtifact := true
// When doing publishLocal, also publish to the local maven repository and generate the version number file.
publishLocal := (publishLocal dependsOn Def.sequential(outputVersion, publishM2)).value
Expand Down
3 changes: 3 additions & 0 deletions snapi-frontend/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ outputVersion := {

// Publish settings
Test / publishArtifact := true
// Useful for debugging
Test / packageSrc / publishArtifact := true

Compile / packageSrc / publishArtifact := true
// When doing publishLocal, also publish to the local maven repository and generate the version number file.
publishLocal := (publishLocal dependsOn Def.sequential(outputVersion, publishM2)).value
Expand Down
3 changes: 3 additions & 0 deletions snapi-parser/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ outputVersion := {

// Publish settings
Test / publishArtifact := true
// Useful for debugging
Test / packageSrc / publishArtifact := true

Compile / packageSrc / publishArtifact := true

// Dependencies
Expand Down
3 changes: 3 additions & 0 deletions snapi-truffle/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ resolvers += Resolver.sonatypeRepo("releases")

// Publish settings
Test / publishArtifact := true
// Useful for debugging
Test / packageSrc / publishArtifact := true

Compile / packageSrc / publishArtifact := true

// Dependencies
Expand Down
3 changes: 3 additions & 0 deletions sql-client/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ outputVersion := {

// Publish settings
Test / publishArtifact := true
// Useful for debugging
Test / packageSrc / publishArtifact := true

Compile / packageSrc / publishArtifact := true
// When doing publishLocal, also publish to the local maven repository and generate the version number file.
publishLocal := (publishLocal dependsOn Def.sequential(outputVersion, publishM2)).value
Expand Down
3 changes: 3 additions & 0 deletions utils/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ outputVersion := {

// Publish settings
Test / publishArtifact := true
// Useful for debugging
Test / packageSrc / publishArtifact := true

Compile / packageSrc / publishArtifact := true
// When doing publishLocal, also publish to the local maven repository and generate the version number file.
publishLocal := (publishLocal dependsOn Def.sequential(outputVersion, publishM2)).value
Expand Down

0 comments on commit ed12b37

Please sign in to comment.