Ivan - Improve client builder

This commit is contained in:
ivan 2017-03-30 22:37:00 -03:00
parent d10de13626
commit db79be846d
6 changed files with 5 additions and 26 deletions

View File

@ -30,7 +30,7 @@ function buildScript(file, watch) {
},
cache: {},
packageCache: {},
fullPaths: true
fullPaths: false
});
if ( watch ) {

View File

@ -5,6 +5,6 @@ var config = require('../config');
gulp.task('copyFonts', function() {
gulp.src(config.sourceDir + 'fonts/**/*').pipe(gulp.dest(config.buildDir + 'fonts/'));
return gulp.src(config.fonts.src)
.pipe(gulp.dest(config.fonts.dest))
});

View File

@ -10,6 +10,6 @@ gulp.task('dev', ['clean'], function(callback) {
global.isProd = false;
// Run all tasks once
return runSequence(['sass', 'imagemin', 'browserify', 'copyFonts', 'copyIndex', 'copyIcons', 'config', 'fonts'], 'watch', callback);
return runSequence(['sass', 'imagemin', 'browserify', 'copyFonts', 'copyIndex', 'copyIcons', 'config'], 'watch', callback);
});

View File

@ -1,10 +0,0 @@
'use strict';
var gulp = require('gulp');
var config = require('../config');
gulp.task('fonts', function() {
return gulp.src(config.fonts.src)
.pipe(gulp.dest(config.fonts.dest))
});

View File

@ -38,7 +38,7 @@
"gulp-sass-bulk-import": "^0.3.2",
"gulp-sourcemaps": "^1.5.2",
"gulp-streamify": "0.0.5",
"gulp-uglify": "^1.2.0",
"gulp-uglify": "^2.1.2",
"gulp-util": "^3.0.6",
"humps": "^0.6.0",
"jquery-mockjax": "^2.1.0",

View File

@ -21,17 +21,6 @@ const steps = [
class InstallLayout extends React.Component {
componentDidMount() {
API.call({
path: '/system/installation-done',
data: {}
}).then((result) => {
if(result.data == 1) {
browserHistory.push('/install/step-6');
}
});
}
render() {
return (
<DocumentTitle title="OpenSupports Installation">