-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate building play_routes to a helper to allow remote builds (#39)
* Separate building play_routes to a helper to allow remote builds * Update play-routes/play-routes-helper.sh Co-authored-by: Max Vorobev <vmax0770@gmail.com> Co-authored-by: David Neil <dvd.neil1@gmail.com>
- Loading branch information
1 parent
325472d
commit 61bd14f
Showing
4 changed files
with
40 additions
and
17 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
/lemur_rsa | ||
|
||
target/ | ||
/.ijwb |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
OUTPUT_DIR=$(mktemp -d) | ||
|
||
PREFIX=$1 | ||
OUTPUT_SRCJAR=$2 | ||
ZIPPER_PATH=$3 | ||
shift 3 | ||
|
||
|
||
# substitute output path and execute the compiler command | ||
${*/REPLACE_ME_OUTPUT_PATH/$OUTPUT_DIR} | ||
|
||
# produce resulting source jar | ||
$ZIPPER_PATH c $OUTPUT_SRCJAR META-INF/= $(find -L $OUTPUT_DIR -type f | while read v; do echo "$PREFIX"${v#"$OUTPUT_DIR"}=$v; done) |
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