git ssb

0+

cel-desktop / ssb-pkg



Tree: 8f4b43a09aab9801bf28987edd59c2e366180327

Files: 8f4b43a09aab9801bf28987edd59c2e366180327 / test / test-46-input-output-target-js-exe / main.js

457 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';
13const newcomers = [ 'test-output.exe' ];
14const before = utils.filesBefore(newcomers);
15
16utils.pkg.sync([
17 '--target', target,
18 '--output', 'test-output.exe', input
19]);
20
21utils.filesAfter(before, newcomers);
22

Built with git-ssb-web