mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-09-22 09:39:02 +00:00
Put files in separate directories
This commit is contained in:
parent
bf2d5a2929
commit
ce8e762ac9
@ -8,9 +8,9 @@ import async from 'async';
|
|||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import hasBinary from 'hasbin';
|
import hasBinary from 'hasbin';
|
||||||
|
|
||||||
import optionsFactory from './options';
|
import optionsFactory from './../options';
|
||||||
import iconBuild from './iconBuild';
|
import iconBuild from './iconBuild';
|
||||||
import helpers from './helpers';
|
import helpers from './../helpers/helpers';
|
||||||
|
|
||||||
const copy = ncp.ncp;
|
const copy = ncp.ncp;
|
||||||
const isWindows = helpers.isWindows;
|
const isWindows = helpers.isWindows;
|
@ -1,6 +1,6 @@
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
import helpers from './helpers';
|
import helpers from './../helpers/helpers';
|
||||||
import pngToIcns from './pngToIcns';
|
import pngToIcns from './../helpers/pngToIcns';
|
||||||
const isOSX = helpers.isOSX;
|
const isOSX = helpers.isOSX;
|
||||||
|
|
||||||
/**
|
/**
|
@ -4,7 +4,7 @@ import 'source-map-support/register';
|
|||||||
|
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import program from 'commander';
|
import program from 'commander';
|
||||||
import buildApp from './buildApp';
|
import buildApp from './build/buildApp';
|
||||||
const packageJson = require(path.join('..', 'package'));
|
const packageJson = require(path.join('..', 'package'));
|
||||||
|
|
||||||
if (require.main === module) {
|
if (require.main === module) {
|
||||||
|
@ -5,7 +5,7 @@ import helpers from './helpers';
|
|||||||
const isOSX = helpers.isOSX;
|
const isOSX = helpers.isOSX;
|
||||||
tmp.setGracefulCleanup();
|
tmp.setGracefulCleanup();
|
||||||
|
|
||||||
const PNG_TO_ICNS_BIN_PATH = path.join(__dirname, '..', 'bin/pngToIcns');
|
const PNG_TO_ICNS_BIN_PATH = path.join(__dirname, '../..', 'bin/pngToIcns');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @callback pngToIcnsCallback
|
* @callback pngToIcnsCallback
|
@ -1,5 +1,5 @@
|
|||||||
import 'source-map-support/register';
|
import 'source-map-support/register';
|
||||||
|
|
||||||
import buildApp from './buildApp';
|
import buildApp from './build/buildApp';
|
||||||
|
|
||||||
export default buildApp;
|
export default buildApp;
|
||||||
|
@ -5,7 +5,7 @@ import chai from 'chai';
|
|||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
import os from 'os';
|
import os from 'os';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import pngToIcns from './../../lib/pngToIcns';
|
import pngToIcns from './../../lib/helpers/pngToIcns';
|
||||||
|
|
||||||
let assert = chai.assert;
|
let assert = chai.assert;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user