-
Notifications
You must be signed in to change notification settings - Fork 1
/
build-parser.sh
executable file
·79 lines (75 loc) · 2.32 KB
/
build-parser.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/bin/bash
cat src/sqlparser/parser.yy \
src/sqlparser/sql_keyword.yy \
src/sqlparser/dynamodb_keyword.yy \
src/sqlparser/dynamodb_string.yy \
src/sqlparser/dynamodb_number.yy \
src/sqlparser/dynamodb_boolean.yy \
src/sqlparser/dynamodb_null.yy \
src/sqlparser/dynamodb_undefined.yy \
src/sqlparser/dynamodb_array.yy \
src/sqlparser/dynamodb_json.yy \
src/sqlparser/dynamodb_stringset.yy \
src/sqlparser/dynamodb_numberset.yy \
src/sqlparser/dynamodb_binaryset.yy \
\
src/sqlparser/javascript_obj_date.yy \
src/sqlparser/javascript_obj_math.yy \
src/sqlparser/javascript_func_uuid.yy \
src/sqlparser/javascript_func_buffer.node.yy \
src/sqlparser/javascript_expr.node.yy \
\
src/sqlparser/keyword.yy \
\
src/sqlparser/insert.yy \
src/sqlparser/update.yy \
src/sqlparser/replace.yy \
src/sqlparser/delete.yy \
src/sqlparser/select.yy \
src/sqlparser/create_table.yy \
src/sqlparser/show_tables.yy \
src/sqlparser/drop_table.yy \
src/sqlparser/describe_table.yy \
src/sqlparser/drop_index.yy \
src/sqlparser/scan.yy \
\
> src/sqlparser.node.jison
cat src/sqlparser/parser.yy \
src/sqlparser/sql_keyword.yy \
src/sqlparser/dynamodb_keyword.yy \
src/sqlparser/dynamodb_string.yy \
src/sqlparser/dynamodb_number.yy \
src/sqlparser/dynamodb_boolean.yy \
src/sqlparser/dynamodb_null.yy \
src/sqlparser/dynamodb_undefined.yy \
src/sqlparser/dynamodb_array.yy \
src/sqlparser/dynamodb_json.yy \
src/sqlparser/dynamodb_stringset.yy \
src/sqlparser/dynamodb_numberset.yy \
src/sqlparser/dynamodb_binaryset.yy \
\
src/sqlparser/javascript_obj_date.yy \
src/sqlparser/javascript_obj_math.yy \
src/sqlparser/javascript_func_uuid.yy \
src/sqlparser/javascript_func_buffer.browser.yy \
src/sqlparser/javascript_expr.browser.yy \
\
src/sqlparser/keyword.yy \
\
src/sqlparser/insert.yy \
src/sqlparser/update.yy \
src/sqlparser/replace.yy \
src/sqlparser/delete.yy \
src/sqlparser/select.yy \
src/sqlparser/create_table.yy \
src/sqlparser/show_tables.yy \
src/sqlparser/drop_table.yy \
src/sqlparser/describe_table.yy \
src/sqlparser/drop_index.yy \
src/sqlparser/scan.yy \
\
> src/sqlparser.browser.jison
npm run buildnodeparser
npm run buildbrowserparser
#npm run build:browser
#npm run build:node