This file contains hidden or 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
| // These two lines are required to initialize Express in Cloud Code. | |
| var express = require('express'); | |
| var app = express(); | |
| var versionTracker = require('cloud/versionTracker.js'); | |
| var VDDModelApp = Parse.Object.extend("VDDModelApp"); | |
| // Global app configuration section | |
| app.set('views', 'cloud/views'); // Specify the folder to find templates | |
| app.set('view engine', 'ejs'); // Set the template engine |
This file contains hidden or 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
| var VDDModelApp = Parse.Object.extend("VDDModelApp"); | |
| Parse.Cloud.define("buildServerUpdate", function(request, response) { | |
| console.log(JSON.stringify(request.params)); | |
| var bundleIdentifier = request.params['bundle_identifier']; | |
| var versionChannel = request.params['version_channel']; | |
| var installUrl = request.params['install_url']; | |
| var versionNumber = request.params['version_number']; | |
| var buildNumber = request.params['build_number']; | |
| var foundModelApp; |
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| unzip "$BITRISE_IPA_PATH" > /dev/null | |
| BASE_NAME=${BITRISE_IPA_PATH##*/} | |
| APP_NAME=${BASE_NAME%.*} | |
| BUNDLEID=`/usr/libexec/PlistBuddy -c "Print :CFBundleIdentifier" ./Payload/"$APP_NAME".app/Info.plist` | |
| BUNDLEVER=`/usr/libexec/PlistBuddy -c "Print :CFBundleVersion" ./Payload/"$APP_NAME".app/Info.plist` |
This file contains hidden or 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
| // These two lines are required to initialize Express in Cloud Code. | |
| var express = require('express'); | |
| var app = express(); | |
| var versionTracker = require('cloud/versionTracker.js'); | |
| // Global app configuration section | |
| app.set('views', 'cloud/views'); // Specify the folder to find templates | |
| app.set('view engine', 'ejs'); // Set the template engine | |
| app.use(express.bodyParser()); // Middleware for reading request body |
This file contains hidden or 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
| // Use Parse.Cloud.define to define as many cloud functions as you want. | |
| // For example: | |
| Parse.Cloud.define("hello", function(request, response) { | |
| response.success("Hello world!"); | |
| }); | |
| Parse.Cloud.define("receiveinstagram", function(request, response) { | |
| var photo = request.params.data; | |
| var query = new Parse.Query("instagram_moment"); |
This file contains hidden or 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
| #!/bin/sh | |
| # | |
| # aerobuild.sh | |
| # | |
| # What does this do? | |
| # ================== | |
| # - Bumps build numbers in your project using agvtool | |
| # - Builds your app and packages it for testing/ad-hoc distribution | |
| # - Commits build number changes to git |