Skip to content

Commit 0ead72e

Browse files
author
nvisionative
authored
Merge pull request #126 from nvisionative/issue-125
Remove pathing.json complexity
2 parents af24a97 + a38e90d commit 0ead72e

File tree

2 files changed

+7
-22
lines changed

2 files changed

+7
-22
lines changed

gulpfile.js

+7-14
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,7 @@ var gulp = require('gulp'),
1717
company = details.company,
1818
url = details.url,
1919
email = details.email,
20-
description = details.description,
21-
config = require('./pathing.json'),
22-
node = ( config.node.length )? config.node+'/' : '',
23-
assets = ( config.assets.length )? config.assets+'/' : '',
24-
src = ( config.src.length )? config.src+'/' : '',
25-
dist = ( config.dist.length )? config.dist+'/' : '',
26-
temp = ( config.temp.length )? config.temp+'/' : '',
27-
build = ( config.build.length )? config.build+'/' : '';
20+
description = details.description;
2821

2922
var paths = {
3023
projectdetails: {
@@ -81,25 +74,25 @@ var paths = {
8174
zipdist: {
8275
src: 'dist/**/*',
8376
zipfile: 'dist.zip',
84-
dest: './'+temp
77+
dest: './temp/'
8578
},
8679
zipcontainers: {
8780
src: './containers/**/*',
8881
zipfile: 'cont.zip',
89-
dest: './'+temp
82+
dest: './temp/'
9083
},
9184
zipelse: {
9285
src: ['./menus/**/*', './partials/*', '*.{ascx,xml,html,htm}'],
9386
zipfile: 'else.zip',
94-
dest: './'+temp
87+
dest: './temp/'
9588
},
9689
zippackage: {
97-
src: ['./'+temp+'*.zip','*.{dnn,png,jpg,txt}', 'LICENSE'],
90+
src: ['./temp/*.zip','*.{dnn,png,jpg,txt}', 'LICENSE'],
9891
zipfile: project+'\_'+version+'\_install.zip',
99-
dest: './'+build
92+
dest: './build/'
10093
},
10194
cleanup: {
102-
src: './'+temp
95+
src: './temp/'
10396
}
10497
};
10598

pathing.json

-8
This file was deleted.

0 commit comments

Comments
 (0)