forked from higherkindness/rules_scala
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! 76d2c89 Fixed the other failing tests
- Loading branch information
Jaden Peterson
committed
Nov 14, 2024
1 parent
f397927
commit 1fd0fb1
Showing
6 changed files
with
16 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
#!/bin/bash -e | ||
. "$(dirname "$0")"/../../common.sh | ||
|
||
package_output_directory='../../bazel-bin/compile/srcjar' | ||
|
||
zip -FSr example.srcjar Example.scala META-INF/MANIFEST.MF | ||
bazel build :lib-srcjar | ||
diff <( sort expected) <( | ||
zipinfo -m -T --h-t "$(bazel info bazel-bin)/compile/srcjar/lib-srcjar.jar" | sort | ||
zipinfo -m -T --h-t "$package_output_directory/lib-srcjar.jar" | sort | ||
) | ||
|
||
zip -FSr example-sources.jar Example.scala META-INF/MANIFEST.MF | ||
bazel build :lib-sources-jar | ||
diff <( sort expected) <( | ||
zipinfo -m -T --h-t "$(bazel info bazel-bin)/compile/srcjar/lib-sources-jar.jar" | sort | ||
zipinfo -m -T --h-t "$package_output_directory/lib-sources-jar.jar" | sort | ||
) | ||
|
||
zip -FSr example-src.jar Example.scala META-INF/MANIFEST.MF | ||
bazel build :lib-src-jar | ||
diff <( sort expected) <( | ||
zipinfo -m -T --h-t "$(bazel info bazel-bin)/compile/srcjar/lib-src-jar.jar" | sort | ||
zipinfo -m -T --h-t "$package_output_directory/lib-src-jar.jar" | sort | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
#!/bin/bash -e | ||
. "$(dirname "$0")"/../../common.sh | ||
|
||
package_output_directory='../../bazel-bin/resources/plain' | ||
|
||
bazel build :plain | ||
diff <(sort expected_plain) <( | ||
zipinfo -m -T --h-t "$(bazel info bazel-bin)/resources/plain/plain.jar" | sort | ||
zipinfo -m -T --h-t "$package_output_directory/plain.jar" | sort | ||
) | ||
|
||
bazel build :merged | ||
diff <(sort expected_merged) <( | ||
zipinfo -m -T --h-t "$(bazel info bazel-bin)/resources/plain/merged.jar" | sort | ||
zipinfo -m -T --h-t "$package_output_directory/merged.jar" | sort | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
#!/bin/bash -e | ||
. "$(dirname "$0")"/../../common.sh | ||
|
||
package_output_directory='../../bazel-bin/resources/reference_conf' | ||
|
||
bazel build :plain_java | ||
diff <(sort expected_plain) <( | ||
zipinfo -m -T --h-t "$(bazel info bazel-bin)/resources/reference_conf/libplain_java.jar" | sort | ||
zipinfo -m -T --h-t "$package_output_directory/libplain_java.jar" | sort | ||
) | ||
|
||
bazel build :plain | ||
diff <(sort expected_plain) <( | ||
zipinfo -m -T --h-t "$(bazel info bazel-bin)/resources/reference_conf/plain.jar" | sort | ||
zipinfo -m -T --h-t "$package_output_directory/plain.jar" | sort | ||
) |
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