-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into jdk-21-fix-for-regex
- Loading branch information
Showing
928 changed files
with
423,925 additions
and
504,488 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
# fast way to build the ZIP for testing an deployment | ||
|
||
mvn -pl '!languagetool-http-client,!languagetool-wikipedia,!languagetool-office-extension,!languagetool-dev' clean package -DskipTests | ||
mvn -pl '!languagetool-http-client,!languagetool-wikipedia,!languagetool-dev' clean package -DskipTests |
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,30 +1,34 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
if [ $# -lt 2 ] | ||
then | ||
self=$(basename $0) | ||
|
||
if [ $# -lt 2 ]; then | ||
echo "Helps building parts of LanguageTool - for a complete build, run mvn directly" | ||
echo "Usage: `basename $0` <project> <goals...>" | ||
echo "Usage: $self <project> <goals...>" | ||
echo "Examples:" | ||
echo " ./`basename $0` languagetool-standalone clean package (will package the standalone module)" | ||
echo " ./`basename $0` languagetool-standalone clean package -DskipTests (as above but without running tests)" | ||
echo " ./`basename $0` en clean test (will test the English module)" | ||
echo " ./$self languagetool-standalone clean package (will package the standalone module)" | ||
echo " ./$self languagetool-standalone clean package -DskipTests (as above but without running tests)" | ||
echo " ./$self en clean test (will test the English module)" | ||
exit 1 | ||
fi | ||
|
||
MODULE=$1 | ||
module=$1 | ||
|
||
if [ \! -d $MODULE ] | ||
then | ||
MODULE="languagetool-language-modules/$MODULE" | ||
if [ ! -d $module ]; then | ||
module_path="languagetool-language-modules/$module" | ||
else | ||
module_path="$module" | ||
fi | ||
|
||
COMMAND="mvn --projects $MODULE --also-make ${@:2}" | ||
echo "Running: $COMMAND" | ||
command="mvn --projects $module_path --also-make ${@:2}" | ||
echo "Running: $command" | ||
|
||
$command | ||
exitcode=$? | ||
|
||
$COMMAND | ||
BUILDEXITCODE=$? | ||
# these don't work on their own, so delete them to avoid confusion: | ||
rm languagetool-standalone/target/languagetool-standalone-*.jar 2> /dev/null | ||
rm languagetool-wikipedia/target/languagetool-wikipedia-*.jar 2> /dev/null | ||
rm languagetool-commandline/target/languagetool-commandline-*.jar 2> /dev/null | ||
exit $BUILDEXITCODE | ||
|
||
exit $exitcode |
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
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.