git ssb

0+

cel-desktop / ssb-pkg



Tree: d456a6cc8589489e558e6164750474ed2cfc961e

Files: d456a6cc8589489e558e6164750474ed2cfc961e / test / test-46-outpath-targets-many / main.js

506 bytesRaw
1#!/usr/bin/env node
2
3'use strict';
4
5const assert = require('assert');
6const utils = require('../utils.js');
7
8assert(!module.parent);
9assert(__dirname === process.cwd());
10
11const input = './test-x-index';
12
13const newcomers = [
14 'out/test-x-index-linux',
15 'out/test-x-index-macos',
16 'out/test-x-index-win.exe'
17];
18
19const before = utils.filesBefore(newcomers);
20
21utils.pkg.sync([
22 '--target', 'linux,macos,win',
23 '--out-path', 'out', input
24]);
25
26utils.filesAfter(before, newcomers);
27utils.vacuum.sync('out');
28

Built with git-ssb-web