cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtan...@apache.org
Subject git commit: Some updates to packaging firefoxos apps.
Date Sat, 16 Feb 2013 02:19:40 GMT
Updated Branches:
  refs/heads/cordova-firefoxos 5463adb09 -> 76ecc678a


Some updates to packaging firefoxos apps.

    - read and set version from VERSION file
    - remove application.zip from repo
    - add application.zip and cordova.js file (that is copied) to
      .gitignore
    - added copy-js task before package (to ensure that cordova.js
      exists


Project: http://git-wip-us.apache.org/repos/asf/cordova-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-labs/commit/76ecc678
Tree: http://git-wip-us.apache.org/repos/asf/cordova-labs/tree/76ecc678
Diff: http://git-wip-us.apache.org/repos/asf/cordova-labs/diff/76ecc678

Branch: refs/heads/cordova-firefoxos
Commit: 76ecc678a888932695eb62695711b8a83f85ae87
Parents: 5463adb
Author: Gord Tanner <gtanner@gmail.com>
Authored: Fri Feb 15 21:17:04 2013 -0500
Committer: Gord Tanner <gtanner@gmail.com>
Committed: Fri Feb 15 21:17:04 2013 -0500

----------------------------------------------------------------------
 .gitignore                |    2 ++
 Makefile                  |    8 +++++---
 framework/application.zip |  Bin 1826 -> 0 bytes
 3 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/76ecc678/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 0e3d093..d4a3b93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
 node_modules/
 .DS_Store
 example/
+framework/application.zip
+framework/cordova-*.js

http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/76ecc678/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index bc13b07..5481ac5 100644
--- a/Makefile
+++ b/Makefile
@@ -5,14 +5,16 @@ PORT_LOCAL = 6000
 XPCSHELL ?= ~/Documents/mozilla/mozilla-central/obj-x86_64-apple-darwin11.4.2/dist/bin/xpcshell
 ADB ?= adb
 FOLDER = framework
-PGVERSION = 2.4.0
+VERSION := $(shell cat VERSION)
+
+
 
 all :: packaged install
 
 copy_js:
-	cp lib/cordova.webos.js framework/cordova-$(PGVERSION).js
+	cp lib/cordova.firefoxos.js framework/cordova-$(VERSION).js
 
-package:
+package: copy_js
 	cd ./${FOLDER} && zip -X ./application.zip ./* -x application.zip
 
 packaged: package

http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/76ecc678/framework/application.zip
----------------------------------------------------------------------
diff --git a/framework/application.zip b/framework/application.zip
deleted file mode 100644
index 2c469ce..0000000
Binary files a/framework/application.zip and /dev/null differ


Mime
View raw message