Created
February 19, 2012 09:24
-
-
Save diosmosis/1862725 to your computer and use it in GitHub Desktop.
cakejam example (Adobe AIR target)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cakejam = require 'cakejam' | |
# aliases | |
jslib = cakejam.targets.jslib | |
aircert = cakejam.targets.aircert | |
airapp = cakejam.targets.airapp | |
# a JavaScript library that will hold all the code in one file | |
lightspeedjs = jslib 'lightspeedjs', __dirname, | |
sources: ['src/config.coffee', | |
'src/utility.coffee', | |
'src/feed_format.coffee', | |
'src/models.coffee', | |
'src/lightspeed_dao.coffee', | |
'src/site_bfs.coffee', | |
'src/application.coffee', | |
'src/template.coffee', | |
'src/lightspeedrss.coffee'] | |
no_minify: true | |
# an Adobe AIR certificate target | |
exports.lightspeedcert = aircert 'lightspeedcert', __dirname, | |
store_type: 'pkcs12' | |
key_type: '2048-RSA' | |
password: 'example_password' | |
# the Adobe AIR target | |
exports.lightspeedrss = airapp 'lightspeedrss', __dirname, | |
sources: ['lib/jquery-1.6.2.min.js', | |
'lib/jquery-ui-1.8.14.custom.min.js', | |
'lib/jsquickhtml/jsquickhtml.coffee', | |
'lib/air/AIRAliases.js', | |
'lib/applicationupdater_ui.swf', | |
'extra', | |
lightspeedjs] | |
app_meta: 'lightspeedrss-app.xml' | |
certificate: exports.lightspeedcert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment