-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildsys.conf
More file actions
48 lines (44 loc) · 1.1 KB
/
buildsys.conf
File metadata and controls
48 lines (44 loc) · 1.1 KB
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
# buildsys: bash
# Application config
## Application Name
APP_NAME="Tiny Image Editor"
## Application ID
APP_ID="tie"
## Applcation version
APP_VERSION="0.0.1"
# JavaScript config
## Top module name
JS_TOP_MODULE_NAME="Tie"
## import modules prefix name
JS_IMPORT_MODULE_PREFIX="${JS_TOP_MODULE_NAME}_import_"
## import modules
## top.js: import "${JS_IMPORT_MODULE_PREFIX}module_name" from "module_path";
## bottom..js: importlib: module_name : "${JS_IMPORT_MODULE_PREFIX}module_name",
declare -A JS_IMPORT_MODULES=(
# ["module_name"]="module_path"
)
## Import type: import or require
JS_IMPORT_TYPE="import"
## is Exprt (use export default)
JS_IS_EXPORT=true
# File config
## source directory
SRC_DIR="src"
## build directory (working directory)
BUILD_DIR="build"
## output directory
OUT_DIR="js"
## output filename
OUT_FILE="tie.js"
## copy modules directory
## copy ROOT/dir_path to output/dirname
declare -A COPY_DIRECTORY=(
# ["dirname"]="dir_path"
)
# buildsys config
## template directory
TEMPLATE_DIR="buildsys/template"
## print target directory
PRINT_TARGET_DIR=true
## print build time
PRINT_BUILD_TIME=true