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
.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: |
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
class RowNotFound extends Error { | |
constructor() { | |
const message = `Row not found`; | |
super(message); | |
this.message = message; | |
this.name = 'RowNotFound'; | |
} | |
} | |
function checkRowExists(row) { |
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
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' |