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
const newman = require('newman') | |
const config = [{ | |
collection: 'collection_one.json', | |
environment: 'env_one.json' | |
}, { | |
collection: 'collection_two.json', | |
environment: 'env_two.json' | |
}] |
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
#!/usr/bin/env node | |
const fs = require('fs') | |
const path = require('path') | |
const https = require('https') | |
const childProcess = require('child_process') | |
const cwd = process.cwd() | |
const cfg = require(path.resolve(cwd, 'hooks/config.js')) | |
const options = { |
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
#!/usr/bin/env node | |
const fs = require('fs') | |
const path = require('path') | |
const cwd = process.cwd() | |
const cfg = require(path.resolve(cwd, 'hooks/config.js')) | |
const isForce = process.argv[2] === 'force' | |
const prevHead = process.argv[2] | |
const newHead = process.argv[3] | |
const isBranchCheckout = process.argv[4] === '1' |