Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hardik Juneja
jio
Commits
1c36476d
Commit
1c36476d
authored
11 years ago
by
Tristan Cavelier
Browse files
Options
Download
Email Patches
Plain Diff
grunt for complex queries is deprecated, removed
parent
72133321
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
129 deletions
+0
-129
grunt/15_gruntQueries/Makefile
grunt/15_gruntQueries/Makefile
+0
-21
grunt/15_gruntQueries/grunt.js
grunt/15_gruntQueries/grunt.js
+0
-85
grunt/15_gruntQueries/package.json
grunt/15_gruntQueries/package.json
+0
-23
No files found.
grunt/15_gruntQueries/Makefile
deleted
100644 → 0
View file @
72133321
JSCCDIR
=
/opt/jscc
JSCCCMD
=
rhino
$(JSCCDIR)
/jscc.js
-t
$(JSCCDIR)
/driver_web.js_
SRC_DIR
=
../../src/queries
BUILD_DIR
=
../../built/queries
OUT
=
$(BUILD_DIR)
/complex-queries.js
PARSER_PAR
=
$(SRC_DIR)
/parser.par
PARSER_OUT
=
$(BUILD_DIR)
/parser.js
auto
:
prepare parser grunt
prepare
:
mkdir
-p
$(BUILD_DIR)
parser
:
$(JSCCCMD)
$(PARSER_PAR)
>>
$(PARSER_OUT)
grunt
:
grunt
This diff is collapsed.
Click to expand it.
grunt/15_gruntQueries/grunt.js
deleted
100644 → 0
View file @
72133321
/*global module:false*/
module
.
exports
=
function
(
grunt
)
{
// Project configuration.
grunt
.
initConfig
({
pkg
:
'
<json:package.json>
'
,
meta
:
{
banner
:
'
/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> -
'
+
'
<%= grunt.template.today("yyyy-mm-dd") %>
\n
'
+
'
<%= pkg.homepage ? "* " + pkg.homepage + "
\n
" : "" %>
'
+
'
* Copyright (c) <%= grunt.template.today("yyyy") %> Nexedi;
'
+
'
Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */
'
},
concat
:
{
dist
:
{
src
:
[
'
<banner:meta.banner>
'
,
// Wrapper top
'
<file_strip_banner:../../src/queries/begin.js>
'
,
// code
'
<file_strip_banner:../../src/queries/parser-begin.js>
'
,
'
<file_strip_banner:../../built/queries/parser.js>
'
,
'
<file_strip_banner:../../src/queries/parser-end.js>
'
,
'
<file_strip_banner:../../src/queries/serializer.js>
'
,
'
<file_strip_banner:../../src/queries/query.js>
'
,
// Wrapper bottom
'
<file_strip_banner:../../src/queries/end.js>
'
],
dest
:
'
../../<%= pkg.name %>.js
'
}
},
min
:
{
dist
:
{
src
:
[
'
<banner:meta.banner>
'
,
'
<config:concat.dist.dest>
'
],
dest
:
'
../../<%= pkg.name %>.min.js
'
}
},
qunit
:
{
files
:
[
'
../../test/cq-tests.html
'
]
},
lint
:
{
files
:
[
'
grunt.js
'
,
'
../../src/queries/serializer.js
'
,
'
../../src/queries/query.js
'
]
},
watch
:
{
files
:
'
<config:lint.files>
'
,
tasks
:
'
lint qunit
'
},
jshint
:
{
options
:
{
curly
:
true
,
eqeqeq
:
true
,
immed
:
true
,
latedef
:
true
,
newcap
:
true
,
noarg
:
true
,
sub
:
true
,
undef
:
true
,
boss
:
true
,
eqnull
:
true
,
browser
:
true
},
globals
:
{
scope
:
true
,
console
:
true
,
unescape
:
true
,
// Needed to avoid "not defined error" with requireJs
define
:
true
,
require
:
true
,
// Needed to avoid "not defined error" with sinonJs
sinon
:
true
,
module
:
true
,
test
:
true
,
ok
:
true
,
deepEqual
:
true
,
expect
:
true
,
stop
:
true
,
start
:
true
,
equal
:
true
}
},
uglify
:
{}
});
// Default task.
grunt
.
registerTask
(
'
default
'
,
'
lint concat min
'
);
};
This diff is collapsed.
Click to expand it.
grunt/15_gruntQueries/package.json
deleted
100644 → 0
View file @
72133321
{
"name"
:
"complex-queries"
,
"title"
:
"Complex Queries"
,
"description"
:
"Complex Queries"
,
"version"
:
"0.1.0"
,
"homepage"
:
""
,
"author"
:
{
"name"
:
"Tristan Cavelier"
,
"email"
:
"tristan.cavelier@tiolive.com"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"http://git.erp5.org/repos/jio.git"
},
"bugs"
:
{
"url"
:
""
},
"licenses"
:
[
],
"dependencies"
:
{
},
"keywords"
:
[]
}
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