Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Commit

Permalink
Fixed the returned error code.
Browse files Browse the repository at this point in the history
  • Loading branch information
enepomnyaschih committed Nov 29, 2015
1 parent 05f39c5 commit f7f5ea5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ https://github.com/enepomnyaschih/jwsdk/wiki

## Changelog

### 0.7.1 (November 29, 2015)

Improvements:

- Scripts return correct error code now

### 0.7 (October 11, 2015)

New features:
Expand Down
5 changes: 3 additions & 2 deletions bin/jwsdk
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/sh
/usr/bin/php $(dirname $0)/../build.php $1 $2
#!/bin/bash
php $(dirname $0)/../build.php $1 $2
exit $?
4 changes: 3 additions & 1 deletion bin/jwsdk.bat
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
php %~dp0..\build.php %1 %2
@echo off
php %~dp0..\build.php %1 %2
if %errorlevel% neq 0 exit /b %errorlevel%
2 changes: 1 addition & 1 deletion build.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function printUsage()
exit(1);
}
$modeName = strtoupper($mode->getId());
echo "Building frontend in $modeName mode with jWidget SDK 0.7...\n";
echo "Building frontend in $modeName mode with jWidget SDK 0.7.1...\n";
$builder = new JWSDK_Builder($argv[0], $mode, $config);
$builder->buildPages();
$builder->saveCache();
Expand Down

0 comments on commit f7f5ea5

Please sign in to comment.