1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-04 13:10:09 +02:00
This commit is contained in:
s2
2018-05-18 17:26:33 +02:00
parent 0ea0853165
commit 2c5b23c10e
1125 changed files with 118732 additions and 1 deletions

28
app/node_modules/electron-osx-sign/test/index.js generated vendored Normal file
View File

@@ -0,0 +1,28 @@
var child = require('child_process')
var series = require('run-series')
var util = require('./util')
series([
function (cb) {
child.exec('which codesign', cb)
},
function (cb) {
console.log('Calling electron-download before running tests...')
util.downloadElectrons(cb)
}
], function (err) {
if (err) {
console.error('Test failed.')
if (err.message) console.error(err.message)
else console.error(err, err.stack)
return
}
console.log('Running tests...')
if (process.platform !== 'darwin') {
console.error('Unable to perform tests on non-darwin platforms.')
process.exit(1)
}
require('./basic')
})