Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio_mebibou
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
Alexandra Rogova
jio_mebibou
Commits
e6c0760b
Commit
e6c0760b
authored
Aug 21, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make grunt updated
parent
f0045483
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
23 deletions
+63
-23
Gruntfile.js
Gruntfile.js
+60
-21
Makefile
Makefile
+3
-2
No files found.
Gruntfile.js
View file @
e6c0760b
/*jslint indent: 2, maxlen: 80 */
/*global module */
module
.
exports
=
function
(
grunt
)
{
module
.
exports
=
function
(
grunt
)
{
"
use strict
"
;
"
use strict
"
;
// Project configuration.
// Project configuration.
grunt
.
initConfig
({
grunt
.
initConfig
({
pkg
:
grunt
.
file
.
readJSON
(
'
package.json
'
),
pkg
:
grunt
.
file
.
readJSON
(
'
package.json
'
),
uglify
:
{
options
:
{
banner
:
'
/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */
\n
'
,
},
jio
:
{
src
:
'
jio.js
'
,
// '<%= pkg.name %>.js'
dest
:
'
jio.min.js
'
,
}
},
jslint
:
{
jslint
:
{
grunt
:
{
src
:
[
'
Gruntfile.js
'
],
options
:
{
errorsOnly
:
true
}
},
jio
:
{
jio
:
{
src
:
[
'
src/jio/**/*.js
'
],
src
:
[
'
src/jio/**/*.js
'
],
exclude
:
[
'
src/jio/intro.js
'
,
'
src/jio/outro.js
'
],
exclude
:
[
'
src/jio/intro.js
'
,
'
src/jio/outro.js
'
],
options
:
{
options
:
{
errorsOnly
:
true
,
errorsOnly
:
true
}
},
jio_storages
:
{
src
:
[
'
src/jio.storage/**/*.js
'
],
options
:
{
errorsOnly
:
true
}
}
},
},
tests
:
{
tests
:
{
src
:
[
'
test/**/*.js
'
],
src
:
[
'
test/**/*.js
'
],
options
:
{
options
:
{
errorsOnly
:
true
,
errorsOnly
:
true
}
},
queries
:
{
src
:
[
'
src/queries/core/**/*.js
'
],
exclude
:
[
'
src/queries/begin.js
'
,
'
src/queries/end.js
'
,
'
src/queries/parser-begin.js
'
,
'
src/queries/parser-end.js
'
],
options
:
{
errorsOnly
:
true
}
}
}
}
// queries: {
// src: ['src/queries/**/*.js'],
// exclude: ['src/queries/begin.js', 'src/queries/end.js']
// }
},
},
concat
:
{
concat
:
{
jio
:
{
jio
:
{
//banner: 'src/jio/intro.js',
//footer: 'src/j',
src
:
[
src
:
[
'
src/jio/intro.js
'
,
'
src/jio/intro.js
'
,
'
src/jio/core/**/*.js
'
,
'
src/jio/core/**/*.js
'
,
'
src/jio/features/**/*.js
'
,
'
src/jio/features/**/*.js
'
,
'
src/jio/outro.js
'
,
'
src/jio/outro.js
'
],
dest
:
'
jio.js
'
},
queries
:
{
src
:
[
'
src/queries/begin.js
'
,
'
src/queries/parser-begin.js
'
,
'
src/queries/build/parser.js
'
,
'
src/queries/parser-end.js
'
,
'
src/queries/core/**/*.js
'
,
'
src/queries/end.js
'
],
],
dest
:
'
jio.js
'
,
dest
:
'
complex_queries.js
'
}
}
},
},
qunit
:
{
uglify
:
{
files
:
[
'
test/tests.html
'
],
// grunt doesn't like requirejs
options
:
{
banner
:
'
/*! <%= pkg.name %> <%= pkg.version %>
'
+
'
<%= grunt.template.today("yyyy-mm-dd") %> */
\n
'
},
jio
:
{
src
:
'
jio.js
'
,
// '<%= pkg.name %>.js'
dest
:
'
jio.min.js
'
},
queries
:
{
src
:
'
complex_queries.js
'
,
dest
:
'
complex_queries.min.js
'
}
},
},
qunit
:
{
// grunt doesn't like requirejs
// phantomjs daesn't know Blobs !!
files
:
[
'
test/tests.html
'
]
}
});
});
grunt
.
loadNpmTasks
(
'
grunt-jslint
'
);
grunt
.
loadNpmTasks
(
'
grunt-jslint
'
);
...
...
Makefile
View file @
e6c0760b
...
@@ -6,14 +6,15 @@ JIO = jio.js
...
@@ -6,14 +6,15 @@ JIO = jio.js
JIO_MIN
=
jio.min.js
JIO_MIN
=
jio.min.js
COMPLEX
=
complex_queries.js
COMPLEX
=
complex_queries.js
COMPLEX_MIN
=
complex_queries.min.js
COMPLEX_MIN
=
complex_queries.min.js
PARSER_PAR
=
$(QUERIES_DIR)
/parser.par
PARSER_PAR
=
$(QUERIES_DIR)
/
core/
parser.par
PARSER_OUT
=
$(QUERIES_DIR)
/parser.js
PARSER_OUT
=
$(QUERIES_DIR)
/
build/
parser.js
JSCC_CMD
=
node ./node_modules/jscc-node/jscc.js
-t
./node_modules/jscc-node/driver_node.js_
JSCC_CMD
=
node ./node_modules/jscc-node/jscc.js
-t
./node_modules/jscc-node/driver_node.js_
auto
:
compile
auto
:
compile
compile
:
compile
:
mkdir
-p
$(
dir
$(PARSER_OUT)
)
$(JSCC_CMD)
-o
$(PARSER_OUT)
$(PARSER_PAR)
$(JSCC_CMD)
-o
$(PARSER_OUT)
$(PARSER_PAR)
.phony
:
clean
.phony
:
clean
...
...
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