Skip to content

Commit d96ce65

Browse files
committed
Fixed regression in 2.0.0 with global bld command when used without any arguments.
Upgraded to bld 2.0.1. Updated version to 2.0.1.
1 parent 97a153f commit d96ce65

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

.idea/libraries/bld.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/bld/bld-wrapper.jar

1 Byte
Binary file not shown.

lib/bld/bld-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ bld.javaOptions=
88
bld.javacOptions=
99
bld.repositories=MAVEN_CENTRAL,RIFE2_RELEASES
1010
bld.sourceDirectories=core/src/bld/java
11-
bld.version=2.0.0
11+
bld.version=2.0.1

src/main/java/rife/bld/wrapper/Wrapper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ private int installAndLaunch(List<String> arguments) {
383383
}
384384
currentDir_ = new File(current_file.getParent());
385385

386-
if (BUILD_ARGUMENT.equals(arguments.get(0))) {
386+
if (!arguments.isEmpty() &&
387+
BUILD_ARGUMENT.equals(arguments.get(0))) {
387388
launchMode_ = LaunchMode.Build;
388389
arguments.remove(0);
389390
}

src/main/resources/BLD_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0
1+
2.0.1

0 commit comments

Comments
 (0)