• Home
  • Raw
  • Download

Lines Matching +full:dry +full:- +full:run

6 const common = require('../common-tap')
7 const fs = BB.promisifyAll(require('graceful-fs'))
22 name: 'generic-package',
30 '--loglevel', 'notice',
31 '--cache', cache,
32 '--tmp', tmp,
33 '--prefix', testDir,
34 '--no-global'
40 t.match(stderr, /notice\s+\d+[a-z]+\s+package\.json/gi, 'mentions package.json')
41 t.match(stdout, /generic-package-90000\.100001\.5\.tgz/ig, 'found pkg')
43 path.join(testDir, 'generic-package-90000.100001.5.tgz')
53 name: 'generic-package',
57 'regular-dep': '^1.0.0'
61 'regular-dep'
65 'regular-dep': new Dir({
67 name: 'regular-dep',
85 '--loglevel', 'notice',
86 '--cache', cache,
87 '--tmp', tmp,
88 '--prefix', testDir,
89 '--no-global'
95 t.match(stderr, /notice\s+\d+[a-z]+\s+package\.json/gi, 'mentions package.json')
96 t.match(stderr, /notice\s+regular-dep/, 'regular dep mentioned')
102 test('pack --dry-run', (t) => {
105 name: 'generic-package',
113 '--dry-run',
114 '--loglevel', 'notice',
115 '--cache', cache,
116 '--tmp', tmp,
117 '--prefix', testDir,
118 '--no-global'
124 t.match(stdout, /generic-package-90000\.100001\.5\.tgz/ig, 'found pkg')
126 path.join(testDir, 'generic-package-90000.100001.5.tgz')
136 test('pack --json', (t) => {
139 name: 'generic-package',
147 '--dry-run',
148 '--json',
149 '--loglevel', 'notice',
150 '--cache', cache,
151 '--tmp', tmp,
152 '--prefix', testDir,
153 '--no-global'
161 filename: 'generic-package-90000.100001.5.tgz',
172 name: 'generic-package',
175 …postpack: 'node -e "var fs = require(\'fs\'); fs.openSync(\'postpack-step\', \'w+\'); if (!fs.exis…
184 '--loglevel', 'notice',
185 '--cache', cache,
186 '--tmp', tmp,
187 '--prefix', testDir,
188 '--no-global'
195 path.join(testDir, 'postpack-step')