Lines Matching refs:lifecycle
156 function makeScript (lifecycle) { argument
157 function contents (lifecycle) { argument
161 .pipe(fs.createWriteStream(lifecycle + '-package.json'))
164 'git add ' + lifecycle + '-package.json',
170 fs.writeFileSync(lifecycle + '-git.txt', stdout)
177 var scriptPath = path.join(pkg, lifecycle + '.js')
180 '(' + contents.toString() + ')(\'' + lifecycle + '\')',
184 function readPackage (lifecycle) { argument
185 return JSON.parse(fs.readFileSync(path.join(pkg, lifecycle + '-package.json'), 'utf-8'))
188 function readStatus (lifecycle, t) { argument
190 fs.readFileSync(path.join(pkg, lifecycle + '-git.txt'), 'utf-8')
197 t.equal(parts.length, 2, lifecycle + ' : git status has too many words : ' + line)