-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up css and bash scripts (#2972)
- Loading branch information
1 parent
0639a24
commit d777de3
Showing
34 changed files
with
384 additions
and
983 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,11 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
mvn -Pbloop ch.epfl.scala:bloop-maven-plugin:2.0.0:bloopInstall | ||
if [[ $? -eq 0 ]]; then | ||
if [[ -f .bloop/geomesa-utils_2.12.json && -z "$(grep 'src/main/scala_2.12' .bloop/geomesa-utils_2.12.json)" ]]; then | ||
cd "$(dirname "$0")/.." || exit | ||
|
||
if mvn -Pbloop ch.epfl.scala:bloop-maven-plugin:2.0.0:bloopInstall; then | ||
if [[ -f .bloop/geomesa-utils_2.12.json ]] && ! grep -q 'src/main/scala_2.12' .bloop/geomesa-utils_2.12.json; then | ||
sed -i 's|\(.*/geomesa-utils/src/main/scala\)"|\0,\n\1\_2.12"|' .bloop/geomesa-utils_2.12.json | ||
fi | ||
if [[ -f .bloop/geomesa-utils_2.13.json && -z "$(grep 'src/main/scala_2.13' .bloop/geomesa-utils_2.13.json)" ]]; then | ||
if [[ -f .bloop/geomesa-utils_2.13.json ]] && ! grep -q 'src/main/scala_2.13' .bloop/geomesa-utils_2.13.json; then | ||
sed -i 's|\(.*/geomesa-utils/src/main/scala\)"|\0,\n\1\_2.13"|' .bloop/geomesa-utils_2.13.json | ||
fi | ||
fi |
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
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.