Skip to content

Commit

Permalink
Added bld to examples script
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Oct 2, 2023
1 parent dc27cb8 commit 1f1ece0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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)

Expand Down
9 changes: 7 additions & 2 deletions examples/examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ fi

# set the examples directories
declare -a examples=(
"java"
"java/bld"
"java/gradle"
"kotlin")

dir=$(dirname "$(readlink -f "$0")")
Expand All @@ -24,6 +25,10 @@ for ex in "${examples[@]}"; do
fi
cd "$dir/$ex" || exit 1
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++))
done
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public final class ExampleVersion {
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";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
public final class GeneratedVersion {
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 MINOR = 11;
public static final int PATCH = 20;
Expand Down
2 changes: 1 addition & 1 deletion lib/bld/bld-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.downloadLocation=
bld.sourceDirectories=
bld.version=1.7.2
bld.version=1.7.3-SNAPSHOT

0 comments on commit 1f1ece0

Please sign in to comment.