Permalink
Browse files

Improved runner script.

  • Loading branch information...
1 parent d3230af commit dd1ffd0313849e40c8364b8a6ac35e9216c94f3b @lcorneliussen lcorneliussen committed Nov 28, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 run.bat
View
@@ -17,8 +17,13 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
:LicenseComment
+
@echo off
if X%1==X set test=
if not X%1==X set test=-Dtest=*%1*
+
+if X%2==X set version=1.4.1-incubating-SNAPSHOT
+if not X%2==X set version=%2
@echo on
-mvn test -Prun-its -Dnpanday.version=1.4.0-incubating-SNAPSHOT %test%
+
+mvn test -Prun-its -Dnpanday.version=%version% %test%

0 comments on commit dd1ffd0

Please sign in to comment.