-
Notifications
You must be signed in to change notification settings - Fork 8
/
beeld.config
103 lines (71 loc) · 2.56 KB
/
beeld.config
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
###################################################
#
# The buildtools repository is at:
# https://github.com/foo123/Beeld
#
###################################################
settings ={}
RegExp = "RegExp::"
@
plugins =[{}]
# include 'minify' plugin from plugins folder
"minify" = "!plg:minify"
# include 'doc' plugin from plugins folder
"doc" = "!plg:doc"
@
tasks =[{}]
build =[{}]
src =[]
!tpl:umd-header.tpl.js # include a umd-header template
# editor-grammar is git submodule with the invariant codebase
# https://github.com/foo123/editor-grammar
# using my local-up-to-date reference of editor-grammar below, i.e "../editor-grammar"
# change "../editor-grammar" to "./editor-grammar" to use the local git submodule inside this repo
../editor-grammar/src/types.js
../editor-grammar/src/utils.js
../editor-grammar/src/helpers.js
../editor-grammar/src/token.js
../editor-grammar/src/parser.js
../editor-grammar/src/folder.js
./src/main.js
!tpl:umd-footer.tpl.js # include a umd-footer template
@
# extract header from this file
header = ./src/main.js
# do any replacements to the source (orderedmap)
replace =[{}]
"@@ROOT@@" = "this"
"@@VERSION@@" = "4.2.1"
"@@MODULE@@" = "CodeMirrorGrammar"
@
out = ./build/codemirror_grammar.js
@
minify =[{}]
src =[]
./build/codemirror_grammar.js
@
# extract documentation from the source (map)
doc ={}
"startdoc" = "/**[DOC_MARKDOWN]"
"enddoc" = "[/DOC_MARKDOWN]**/"
"trim" = RegExp::^\s*\*[ ]?
"output" = "./api-reference.md"
@
# Minify the Package (map of lists)
minify ={}
# Options for Node UglifyJS Compiler (if used, default), (mangle and compress)
uglifyjs =[]
-m -c
@
# Options for Java Closure Compiler (if used)
closure =[]
"--language_in=ECMASCRIPT5_STRICT"
@
# Options for Java YUI Compressor Compiler (if used)
yui =[]
--preserve-semi
@
@
out = ./build/codemirror_grammar.min.js
@
@