Added bld to examples script
This commit is contained in:
parent
dc27cb86e5
commit
1f1ece0956
5 changed files with 11 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## [1.2.1](https://github.com/ethauvin/semver/tree/1.2.1) (2023-09-29)
|
## [1.2.1](https://github.com/ethauvin/semver/tree/1.2.1) (2023-10-02)
|
||||||
|
|
||||||
[Full Changelog](https://github.com/ethauvin/semver/compare/1.2.0...1.2.1)
|
[Full Changelog](https://github.com/ethauvin/semver/compare/1.2.0...1.2.1)
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,8 @@ fi
|
||||||
|
|
||||||
# set the examples directories
|
# set the examples directories
|
||||||
declare -a examples=(
|
declare -a examples=(
|
||||||
"java"
|
"java/bld"
|
||||||
|
"java/gradle"
|
||||||
"kotlin")
|
"kotlin")
|
||||||
|
|
||||||
dir=$(dirname "$(readlink -f "$0")")
|
dir=$(dirname "$(readlink -f "$0")")
|
||||||
|
@ -24,6 +25,10 @@ for ex in "${examples[@]}"; do
|
||||||
fi
|
fi
|
||||||
cd "$dir/$ex" || exit 1
|
cd "$dir/$ex" || exit 1
|
||||||
echo "> Project: ${cyan}${ex}${normal}"
|
echo "> Project: ${cyan}${ex}${normal}"
|
||||||
./gradlew --console=plain --no-build-cache clean "$@" || exit 1
|
if [ -x "bld" ]; then
|
||||||
|
./bld compile "$@" || exit 1
|
||||||
|
else
|
||||||
|
./gradlew --console=plain --no-build-cache clean "$@" || exit 1
|
||||||
|
fi
|
||||||
((i++))
|
((i++))
|
||||||
done
|
done
|
||||||
|
|
|
@ -9,7 +9,7 @@ import java.util.Date;
|
||||||
|
|
||||||
public final class ExampleVersion {
|
public final class ExampleVersion {
|
||||||
public static final String PROJECT = "Java Example";
|
public static final String PROJECT = "Java Example";
|
||||||
public static final Date BUILDDATE = new Date(1696019617021L);
|
public static final Date BUILDDATE = new Date(1696209996065L);
|
||||||
public static final String VERSION = "8.4.97-alpha+T800";
|
public static final String VERSION = "8.4.97-alpha+T800";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -14,7 +14,7 @@ import java.util.Date;
|
||||||
*/
|
*/
|
||||||
public final class GeneratedVersion {
|
public final class GeneratedVersion {
|
||||||
public static final String PROJECT = "Java App";
|
public static final String PROJECT = "Java App";
|
||||||
public static final Date BUILDDATE = new Date(1696019617081L);
|
public static final Date BUILDDATE = new Date(1696209996080L);
|
||||||
public static final int MAJOR = 11;
|
public static final int MAJOR = 11;
|
||||||
public static final int MINOR = 11;
|
public static final int MINOR = 11;
|
||||||
public static final int PATCH = 20;
|
public static final int PATCH = 20;
|
||||||
|
|
|
@ -6,4 +6,4 @@ bld.extension-pmd=com.uwyn.rife2:bld-pmd:0.9.3-SNAPSHOT
|
||||||
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
|
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
|
||||||
bld.downloadLocation=
|
bld.downloadLocation=
|
||||||
bld.sourceDirectories=
|
bld.sourceDirectories=
|
||||||
bld.version=1.7.2
|
bld.version=1.7.3-SNAPSHOT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue