Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
9dfa1824
Commit
9dfa1824
authored
Jun 08, 2015
by
sanjay-patel-1991
Committed by
Vishal Kadam
Jun 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update gruntfile.js for build task
parent
6b8c1312
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
gruntfile.js
dashboard/v2/gruntfile.js
+2
-6
No files found.
dashboard/v2/gruntfile.js
View file @
9dfa1824
...
...
@@ -146,11 +146,11 @@ module.exports = function(grunt) {
require
(
'load-grunt-tasks'
)(
grunt
);
grunt
.
registerTask
(
'default'
,
[
'devUpdate'
,
'bower'
,
'jshint'
,
'jsbeautifier:default'
]);
grunt
.
registerTask
(
'server'
,
[
'jshint'
,
'build'
,
'bower'
,
'minify'
,
'copy:mainjs'
,
'concurrent'
]);
grunt
.
registerTask
(
'server'
,
[
'jshint'
,
'build'
,
'concurrent'
]);
grunt
.
registerTask
(
'build'
,
[
'clean'
,
'bower'
,
'copy:dist'
,
'minify'
,
'copy:mainjs'
]);
grunt
.
registerTask
(
'minify'
,
'Minify the all js'
,
function
()
{
var
done
=
this
.
async
();
grunt
.
file
.
mkdir
(
'public/dist'
);
grunt
.
task
.
run
([
'shell:min'
]);
done
();
});
...
...
@@ -160,10 +160,6 @@ module.exports = function(grunt) {
grunt
.
task
.
run
([
'proxit:dev'
]);
done
();
});
grunt
.
registerTask
(
'build'
,
'Build DGI'
,
function
(){
grunt
.
task
.
run
([
'clean'
]);
grunt
.
task
.
run
([
'copy:dist'
]);
});
grunt
.
registerTask
(
'release'
,
'Create release package'
,
function
()
{
var
done
=
this
.
async
();
git
.
short
(
function
(
str
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment