Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
11ad6be9
Commit
11ad6be9
authored
Nov 10, 2016
by
Maxim Kadushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[embed] refactoring of deployment
parent
be54167b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
30 deletions
+4
-30
build/Gruntfile.js
build/Gruntfile.js
+1
-9
build/documenteditor.json
build/documenteditor.json
+1
-7
build/presentationeditor.json
build/presentationeditor.json
+1
-7
build/spreadsheeteditor.json
build/spreadsheeteditor.json
+1
-7
No files found.
build/Gruntfile.js
View file @
11ad6be9
...
...
@@ -305,14 +305,6 @@ module.exports = function(grunt) {
}
},
replace
:
{
fixLessUrl
:
{
src
:
[
'
<%= pkg.embed.less.files.dist %>
'
],
overwrite
:
true
,
replacements
:
packageFile
[
'
embed
'
][
'
less
'
][
'
replacements
'
]
}
},
copy
:
{
'
index-page
'
:
{
files
:
packageFile
[
'
embed
'
][
'
copy
'
][
'
index-page
'
]
...
...
@@ -349,7 +341,7 @@ module.exports = function(grunt) {
grunt
.
registerTask
(
'
deploy-app-main
'
,
[
'
main-app-init
'
,
'
clean
'
,
'
imagemin
'
,
'
less
'
,
'
requirejs
'
,
'
concat
'
,
'
copy
'
,
'
replace:writeVersion
'
]);
grunt
.
registerTask
(
'
deploy-app-mobile
'
,
[
'
mobile-app-init
'
,
'
clean
'
,
'
uglify
'
,
'
cssmin:styles
'
,
'
copy
'
]);
grunt
.
registerTask
(
'
deploy-app-embed
'
,
[
'
embed-app-init
'
,
'
clean:prebuild
'
,
'
uglify
'
,
'
less
'
,
'
replace:fixLessUrl
'
,
'
copy
'
,
'
clean:postbuild
'
]);
grunt
.
registerTask
(
'
deploy-app-embed
'
,
[
'
embed-app-init
'
,
'
clean:prebuild
'
,
'
uglify
'
,
'
less
'
,
'
copy
'
,
'
clean:postbuild
'
]);
doRegisterInitializeAppTask
(
'
documenteditor
'
,
'
DocumentEditor
'
,
'
documenteditor.json
'
);
...
...
build/documenteditor.json
View file @
11ad6be9
...
...
@@ -327,13 +327,7 @@
"files"
:
{
"src"
:
"../apps/documenteditor/embed/resources/less/application.less"
,
"dist"
:
"../deploy/web-apps/apps/documenteditor/embed/resources/css/app-all.css"
},
"replacements"
:
[
{
"from"
:
"../../../../common/embed/resources/img/"
,
"to"
:
"../img/"
}
]
}
},
"copy"
:
{
"index-page"
:
{
...
...
build/presentationeditor.json
View file @
11ad6be9
...
...
@@ -303,13 +303,7 @@
"files"
:
{
"src"
:
"../apps/presentationeditor/embed/resources/less/application.less"
,
"dist"
:
"../deploy/web-apps/apps/presentationeditor/embed/resources/css/app-all.css"
},
"replacements"
:
[
{
"from"
:
"../../../../common/embed/resources/img/"
,
"to"
:
"../img/"
}
]
}
},
"copy"
:
{
"index-page"
:
{
...
...
build/spreadsheeteditor.json
View file @
11ad6be9
...
...
@@ -333,13 +333,7 @@
"files"
:
{
"src"
:
"../apps/spreadsheeteditor/embed/resources/less/application.less"
,
"dist"
:
"../deploy/web-apps/apps/spreadsheeteditor/embed/resources/css/app-all.css"
},
"replacements"
:
[
{
"from"
:
"../../../../common/embed/resources/img/"
,
"to"
:
"../img/"
}
]
}
},
"copy"
:
{
"index-page"
:
{
...
...
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