git ssb

0+

cel-desktop / ssb-pkg



Tree: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44

Files: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44 / test / test-46-input-targets-many-4 / main.js

524 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 target = process.argv[2] || 'latest';
12const input = './test-x-index.js';
13
14const newcomers = [
15 'test-x-index-linux',
16 'test-x-index-macos',
17 'test-x-index-win.exe'
18];
19
20const before = utils.filesBefore(newcomers);
21
22utils.pkg.sync([
23 '--target', `${target}-linux,${target}-macos,${target}-win`,
24 input
25]);
26
27utils.filesAfter(before, newcomers);
28

Built with git-ssb-web