Browse Source

modified: build.properties
modified: build.xml
renamed: dist/jquery.inputmask.js -> dist/jquery.inputmask.bundle.js
renamed: dist/jquery.inputmask.min.js -> dist/jquery.inputmask.bundle.min.js
modified: js/jquery.inputmask.date.extensions.js
modified: js/jquery.inputmask.extensions.js
modified: js/jquery.inputmask.js
modified: js/jquery.inputmask.numeric.extensions.js

Robin Herbots 12 years ago
parent
commit
661a023fa0

+ 3 - 3
build.properties

@@ -9,6 +9,6 @@ build.major = 2
 build.minor = 1
 build.revision = 2
 
-target = jquery.inputmask.js
-target.min = jquery.inputmask.min.js
-nuspec = jquery.inputmask.nuspec
+target = jquery.inputmask.bundle.js
+target.min = jquery.inputmask.bundle.min.js
+nuspec = jquery.inputmask.nuspec

+ 9 - 1
build.xml

@@ -15,6 +15,14 @@
 	   <replaceregexp file="${srcdir}/jquery.inputmask.date.extensions.js" match="Version:.*" replace="Version: ${build.major}.${build.minor}.${build.revision}"  byline="true"/>
 	   <replaceregexp file="${srcdir}/jquery.inputmask.numeric.extensions.js" match="Version:.*" replace="Version: ${build.major}.${build.minor}.${build.revision}"  byline="true"/>
     </target>
+
+	<target name="resetVersions">
+       <replaceregexp file="nuget/jquery.inputmask.nuspec" match="&lt;version&gt;.*&lt;/version&gt;" replace="&lt;version&gt;0.0.0&lt;/version&gt;" />
+	   <replaceregexp file="${srcdir}/jquery.inputmask.js" match="Version:.*" replace="Version: 0.0.0}"  byline="true"/>
+	   <replaceregexp file="${srcdir}/jquery.inputmask.extensions.js" match="Version:.*" replace="Version: 0.0.0"  byline="true"/>
+	   <replaceregexp file="${srcdir}/jquery.inputmask.date.extensions.js" match="Version:.*" replace="Version: 0.0.0"  byline="true"/>
+	   <replaceregexp file="${srcdir}/jquery.inputmask.numeric.extensions.js" match="Version:.*" replace="Version: 0.0.0"  byline="true"/>
+    </target>
 	
     <target name="jquery.inputmask" depends="init, updateVersions">
         <concat destfile="${distdir}/${target}">
@@ -68,7 +76,7 @@
         </exec>
     </target>
 	
-    <target name="build" depends="jquery.inputmask, jquery.inputmask.min, minfiles, jquery.inputmask.nuget"/>
+    <target name="build" depends="jquery.inputmask, jquery.inputmask.min, minfiles, jquery.inputmask.nuget, resetVersions"/>
 
     <target name="clean">
         <delete dir="${distdir}" />

dist/jquery.inputmask.js → dist/jquery.inputmask.bundle.js


dist/jquery.inputmask.min.js → dist/jquery.inputmask.bundle.min.js


+ 1 - 1
js/jquery.inputmask.date.extensions.js

@@ -3,7 +3,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2012 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.1.2
+Version: 0.0.0
 
 Optional extensions on the jquery.inputmask base
 */

+ 1 - 1
js/jquery.inputmask.extensions.js

@@ -3,7 +3,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.1.2
+Version: 0.0.0
 
 Optional extensions on the jquery.inputmask base
 */

+ 1 - 1
js/jquery.inputmask.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2013 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 2.1.2
+* Version: 0.0.0}
 */
 
 (function ($) {

+ 1 - 1
js/jquery.inputmask.numeric.extensions.js

@@ -3,7 +3,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2012 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.1.2
+Version: 0.0.0
 
 Optional extensions on the jquery.inputmask base
 */