git ssb

0+

cel-desktop / ssb-pkg



Tree: ca90b5ca0579ebdcc0635288bce4978e3fb200f5

Files: ca90b5ca0579ebdcc0635288bce4978e3fb200f5 / test / test-46-input-output-js / main.js

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

Built with git-ssb-web