git ssb

0+

cel-desktop / ssb-pkg



Tree: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1

Files: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1 / test / test-46-input-output-js-exe / main.js

413 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.js';
12const newcomers = [ 'test-output.exe' ];
13const before = utils.filesBefore(newcomers);
14
15utils.pkg.sync([
16 '--output', 'test-output.exe', input
17], { stdio: 'inherit' });
18
19utils.filesAfter(before, newcomers);
20

Built with git-ssb-web