Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
jio
Commits
dade6edb
Commit
dade6edb
authored
Mar 04, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sourceMap generation added *.min.js
parent
afbda2cd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
Gruntfile.js
Gruntfile.js
+8
-2
Makefile
Makefile
+2
-0
No files found.
Gruntfile.js
View file @
dade6edb
...
@@ -82,11 +82,17 @@ module.exports = function (grunt) {
...
@@ -82,11 +82,17 @@ module.exports = function (grunt) {
},
},
jio
:
{
jio
:
{
src
:
'
jio.js
'
,
// '<%= pkg.name %>.js'
src
:
'
jio.js
'
,
// '<%= pkg.name %>.js'
dest
:
'
jio.min.js
'
dest
:
'
jio.min.js
'
,
options
:
{
sourceMap
:
"
jio.min.map
"
}
},
},
jiodate
:
{
jiodate
:
{
src
:
'
src/jio.date/jiodate.js
'
,
src
:
'
src/jio.date/jiodate.js
'
,
dest
:
'
jiodate.min.js
'
dest
:
'
jiodate.min.js
'
,
options
:
{
sourceMap
:
"
jiodate.min.map
"
}
}
}
},
},
qunit
:
{
qunit
:
{
...
...
Makefile
View file @
dade6edb
...
@@ -56,7 +56,9 @@ zip:
...
@@ -56,7 +56,9 @@ zip:
@
mkdir
$(TMPDIR)
/jio/storage
@
mkdir
$(TMPDIR)
/jio/storage
@
echo
"Minimizing JS..."
@
echo
"Minimizing JS..."
@
cp
jio.min.js
$(TMPDIR)
/jio/
@
cp
jio.min.js
$(TMPDIR)
/jio/
@
cp
jio.min.map
$(TMPDIR)
/jio/
@
cp
jiodate.min.js
$(TMPDIR)
/jio/
@
cp
jiodate.min.js
$(TMPDIR)
/jio/
@
cp
jiodate.min.map
$(TMPDIR)
/jio/
@
$(UGLIFY)
src/sha1.amd.js
>
$(TMPDIR)
/jio/sha1.amd.min.js 2>/dev/null
@
$(UGLIFY)
src/sha1.amd.js
>
$(TMPDIR)
/jio/sha1.amd.min.js 2>/dev/null
@
$(UGLIFY)
src/sha2.amd.js
>
$(TMPDIR)
/jio/sha2.amd.min.js 2>/dev/null
@
$(UGLIFY)
src/sha2.amd.js
>
$(TMPDIR)
/jio/sha2.amd.min.js 2>/dev/null
@
$(UGLIFY)
src/sha256.amd.js
>
$(TMPDIR)
/jio/sha256.amd.min.js 2>/dev/null
@
$(UGLIFY)
src/sha256.amd.js
>
$(TMPDIR)
/jio/sha256.amd.min.js 2>/dev/null
...
...
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