flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject [1/5] flink git commit: [FLINK-5466] [webfrontend] Set environment to production in gulpfile
Date Thu, 12 Jan 2017 14:49:07 GMT
Repository: flink
Updated Branches:
  refs/heads/master 90051db87 -> e1181f6c2


[FLINK-5466] [webfrontend] Set environment to production in gulpfile


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/408f6ea4
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/408f6ea4
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/408f6ea4

Branch: refs/heads/master
Commit: 408f6ea4f8cf33aad87b7f6958ae757066a28862
Parents: 90051db
Author: Ufuk Celebi <uce@apache.org>
Authored: Thu Jan 12 15:47:51 2017 +0100
Committer: Ufuk Celebi <uce@apache.org>
Committed: Thu Jan 12 15:47:51 2017 +0100

----------------------------------------------------------------------
 flink-runtime-web/web-dashboard/gulpfile.js | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/408f6ea4/flink-runtime-web/web-dashboard/gulpfile.js
----------------------------------------------------------------------
diff --git a/flink-runtime-web/web-dashboard/gulpfile.js b/flink-runtime-web/web-dashboard/gulpfile.js
index 2b34e59..9844116 100644
--- a/flink-runtime-web/web-dashboard/gulpfile.js
+++ b/flink-runtime-web/web-dashboard/gulpfile.js
@@ -40,7 +40,7 @@ var mainBowerFiles = require('main-bower-files');
 var less = require('gulp-less');
 var path = require('path');
 
-var environment = 'development';
+var environment = 'production';
 var paths = {
   src: './app/',
   dest: './web/',
@@ -50,8 +50,8 @@ var paths = {
   tmp: './tmp/'
 }
 
-gulp.task('set-production', function() {
-  environment = 'production';
+gulp.task('set-development', function() {
+  environment = 'development';
 });
 
 gulp.task('fonts', function() {
@@ -157,6 +157,7 @@ gulp.task('styles', function () {
 });
 
 gulp.task('watch', function () {
+  environment = 'development';
   livereload.listen();
 
   gulp.watch(paths.vendorLocal + '**', ['vendor-scripts']);
@@ -181,5 +182,5 @@ gulp.task('vendor', ['vendor-styles', 'vendor-scripts']);
 gulp.task('compile', ['html', 'partials','styles', 'scripts']);
 
 gulp.task('default', ['fonts', 'assets', 'vendor', 'compile']);
-gulp.task('production', ['set-production', 'default']);
+gulp.task('dev', ['set-development', 'default']);
 


Mime
View raw message