Skip to content
Permalink
Browse files
added version.bat file for windows, bumped to 0.0.4
  • Loading branch information
purplecabbage committed Apr 6, 2017
1 parent b240876 commit f4feeed44eb71c8619e1680718d29e7eab6ffe1b
Showing 3 changed files with 31 additions and 4 deletions.
@@ -1,6 +1,6 @@
{
"name": "cordova-platform-test",
"version": "0.0.3",
"version": "0.0.4",
"description": "Platform that simply stubs the platformAPI for testing and education",
"create": "src/bin/create",
"main": "src/cordova/Api.js",
@@ -17,11 +17,12 @@
-->
<widget xmlns = "http://www.w3.org/ns/widgets"
id = "io.cordova.helloCordova"
version = "2.0.0">
<name>Hello Cordova</name>
version = "0.0.4">
<name>Test Cordova Platform</name>

<description>
A sample Apache Cordova application that responds to the deviceready event.
This is a basic implementation of the platform API and demonstrates the minimum
that any new platform must implement.
</description>

<author href="http://cordova.io" email="dev@cordova.apache.org">
@@ -0,0 +1,26 @@
:: Licensed to the Apache Software Foundation (ASF) under one
:: or more contributor license agreements. See the NOTICE file
:: distributed with this work for additional information
:: regarding copyright ownership. The ASF licenses this file
:: to you under the Apache License, Version 2.0 (the
:: "License"); you may not use this file except in compliance
:: with the License. You may obtain a copy of the License at
::
:: http://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by applicable law or agreed to in writing,
:: software distributed under the License is distributed on an
:: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
:: KIND, either express or implied. See the License for the
:: specific language governing permissions and limitations
:: under the License.

@ECHO OFF
SET script_path="%~dp0version"
IF EXIST %script_path% (
node %script_path% %*
) ELSE (
ECHO.
ECHO ERROR: Could not find 'version' script in 'cordova' folder, aborting...>&2
EXIT /B 1
)

0 comments on commit f4feeed

Please sign in to comment.