2
2
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:
Jia Hao 2016-01-29 14:09:36 +08:00
parent bf2d5a2929
commit ce8e762ac9
7 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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;
/** /**

View File

@ -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) {

View File

@ -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

View File

@ -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;

View File

@ -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;