Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
jio
Commits
0b8595f2
Commit
0b8595f2
authored
Aug 20, 2018
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Jison call in the build process.
parent
689b8e5a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
21 deletions
+10
-21
Makefile
Makefile
+5
-20
config.mk
config.mk
+4
-0
package.json
package.json
+1
-1
No files found.
Makefile
View file @
0b8595f2
...
...
@@ -139,27 +139,12 @@ ${JIOVERSION}: lib/uri/URI.js \
#############################################
# Jison
#############################################
# dir
QUERIES_DIR
=
src/queries
# files
PARSER_PAR
=
$(QUERIES_DIR)
/core/parser.par
PARSER_OUT
=
$(QUERIES_DIR)
/build/parser.js
# npm install jscc-node
JSCC_CMD
=
node ./node_modules/.bin/jison
-m
js
auto
:
compile
compile
:
mkdir
-p
$(
dir
$(PARSER_OUT)
)
$(JSCC_CMD)
-o
$(PARSER_OUT)
$(PARSER_PAR)
${SRCDIR}/queries/build/parser.js
:
${SRCDIR}/queries/core/parser.par
@
echo
jison
@
mkdir
-p
$
(
@D
)
${JISON}
-m
js
-o
$@
$<
.phony
:
clean
clean
:
rm
-rf
${LINTDIR}
find
-name
'*~'
-delete
realclean
:
rm
-f
"
$(PARSER_OUT)
"
config.mk
0 → 100644
View file @
0b8595f2
NODE
=
node
JSLINT
=
${NODE}
./node_modules/.bin/jslint
JISON
=
${NODE}
./node_modules/.bin/jison
\ No newline at end of file
package.json
View file @
0b8595f2
...
...
@@ -39,7 +39,7 @@
"
jslint
"
:
"
0.9.2
"
,
"
lz-string
"
:
"
^1.4.4
"
,
"
sinon
"
:
"
~1.7.3
"
,
"
jison
"
:
"
~
0.4.16
"
"
jison
"
:
"
0.4.16
"
},
"engines"
:
{
"npm"
:
">=1.3"
...
...
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