Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@AlexDisler
AlexDisler / gist:3738002
Created September 17, 2012 15:28
Execute phing on the server using hubot
module.exports = (robot) ->
robot.respond /deploy to stage/i, (msg) ->
process.chdir('/your/dir')
doing = require('child_process').spawn 'phing', ['remotedeploy','-Denv=stage']
msg.send 'stage deployment request sent'
class RowNotFound extends Error {
constructor() {
const message = `Row not found`;
super(message);
this.message = message;
this.name = 'RowNotFound';
}
}
function checkRowExists(row) {
.PHONY: run
# certs and output
OUTPUT_FILE=apkname.apk
ALIAS=youralias
KEYPASS=yourkeypass
KEYSTORE=certs/yourcert.keystore
UNSIGNED=platforms/android/build/outputs/apk/android-release-unsigned.apk
# or, if you're using Crosswalk: