Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-46-input-targets-many-3 / main.js
450 bytesRaw
1 | |
2 | |
3 | 'use strict'; |
4 | |
5 | const assert = require('assert'); |
6 | const utils = require('../utils.js'); |
7 | |
8 | assert(!module.parent); |
9 | assert(__dirname === process.cwd()); |
10 | |
11 | const input = './test-x-index.js'; |
12 | |
13 | const newcomers = [ |
14 | 'test-x-index-linux', |
15 | 'test-x-index-macos', |
16 | 'test-x-index-win.exe' |
17 | ]; |
18 | |
19 | const before = utils.filesBefore(newcomers); |
20 | |
21 | utils.pkg.sync([ |
22 | '--target', 'linux,macos,win', |
23 | input |
24 | ]); |
25 | |
26 | utils.filesAfter(before, newcomers); |
27 |
Built with git-ssb-web