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
a32e2b2e
Commit
a32e2b2e
authored
7 years ago
by
kevalbhatt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2071 : UI : Minification of atlas code (js,css)
parent
cba5f762
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
13 deletions
+23
-13
gruntfile.js
dashboardv2/gruntfile.js
+5
-3
pom.xml
dashboardv2/pom.xml
+1
-10
InstallationSteps.twiki
docs/src/site/twiki/InstallationSteps.twiki
+10
-0
pom.xml
pom.xml
+7
-0
No files found.
dashboardv2/gruntfile.js
View file @
a32e2b2e
...
...
@@ -224,6 +224,9 @@ module.exports = function(grunt) {
},
uglify
:
{
build
:
{
options
:
{
sourceMap
:
true
},
files
:
[{
expand
:
true
,
cwd
:
'dist/js'
,
...
...
@@ -307,7 +310,6 @@ module.exports = function(grunt) {
'sass:dist'
,
'uglify:build'
,
'cssmin:build'
,
'htmlmin:build'
,
'configureProxies:server'
,
'connect:server'
,
'watch'
...
...
@@ -321,7 +323,6 @@ module.exports = function(grunt) {
'copy:build'
,
'sass:build'
,
'uglify:build'
,
'cssmin:build'
,
'htmlmin:build'
'cssmin:build'
]);
};
\ No newline at end of file
This diff is collapsed.
Click to expand it.
dashboardv2/pom.xml
View file @
a32e2b2e
...
...
@@ -108,21 +108,12 @@
</configuration>
</execution>
<execution>
<id>
npm remaining
</id>
<goals>
<goal>
npm
</goal>
</goals>
<configuration>
<arguments>
install --ignore-scripts
</arguments>
</configuration>
</execution>
<execution>
<id>
grunt dist
</id>
<goals>
<goal>
grunt
</goal>
</goals>
<configuration>
<arguments>
build
</arguments>
<arguments>
${project.build.dashboardv2.gruntBuild}
</arguments>
</configuration>
</execution>
</executions>
...
...
This diff is collapsed.
Click to expand it.
docs/src/site/twiki/InstallationSteps.twiki
View file @
a32e2b2e
...
...
@@ -121,6 +121,16 @@ Also, a standalone instance of Solr can be started as the default search indexin
indexing for a different Solr instance please see "Graph Search Index - Solr" in the
[[Configuration][Configuration]] section.
To build a distribution without minified js,css file, build with the skipMinify profile.
<verbatim>
mvn clean package -Pdist,skipMinify
</verbatim>
Note that by default js and css files are minified.
---+++ Installing & Running Atlas
---++++ Installing Atlas
...
...
This diff is collapsed.
Click to expand it.
pom.xml
View file @
a32e2b2e
...
...
@@ -588,6 +588,7 @@
<atlas.surefire.options></atlas.surefire.options>
<aspectj.runtime.version>
1.8.7
</aspectj.runtime.version>
<project.build.dashboardv2.gruntBuild>
build-minify
</project.build.dashboardv2.gruntBuild>
</properties>
<profiles>
...
...
@@ -639,6 +640,12 @@
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>
skipMinify
</id>
<properties>
<project.build.dashboardv2.gruntBuild>
build
</project.build.dashboardv2.gruntBuild>
</properties>
</profile>
</profiles>
<modules>
...
...
This diff is collapsed.
Click to expand it.
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