-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.json
More file actions
68 lines (61 loc) · 2.75 KB
/
setup.json
File metadata and controls
68 lines (61 loc) · 2.75 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"build": {
"common": [
[ "symlinkFile", "node_modules/@highlightjs/cdn-assets", "htdocs/highlight" ],
[ "symlinkCompress", "node_modules/@highlightjs/cdn-assets/styles/atom-one-light.css", "htdocs/css/" ],
[ "symlinkCompress", "node_modules/@highlightjs/cdn-assets/styles/atom-one-dark.css", "htdocs/css/" ],
[ "symlinkCompress", "node_modules/jquery/dist/jquery.min.js", "htdocs/js/external/" ],
[ "symlinkCompress", "node_modules/jquery/dist/jquery.min.map", "htdocs/js/external/" ],
[ "symlinkCompress", "node_modules/@mdi/font/css/materialdesignicons.min.css", "htdocs/css/" ],
[ "symlinkCompress", "node_modules/@mdi/font/css/materialdesignicons.min.css.map", "htdocs/css/" ],
[ "symlinkCompress", "node_modules/@mdi/font/css/materialdesignicons.css.map", "htdocs/css/" ],
[ "copyFiles", "node_modules/@mdi/font/fonts/*", "htdocs/fonts/" ],
[ "symlinkCompress", "node_modules/marked/marked.min.js", "htdocs/js/external/" ],
[ "symlinkFile", "node_modules/pixl-xyapp/js", "htdocs/js/common" ],
[ "symlinkFile", "node_modules/pixl-xyapp/css/normalize.css", "htdocs/css/" ],
[ "symlinkFile", "node_modules/pixl-xyapp/css/base.css", "htdocs/css/" ],
[ "chmodFiles", "755", "bin/*" ],
[ "prepIconFont", "htdocs/js/external/icon-font-names.js" ],
[ "compressFile", "htdocs/js/external/icon-font-names.js", "htdocs/js/external/icon-font-names.js.gz" ]
],
"dev": [
[ "deleteFiles", "htdocs/css/_combo*" ],
[ "deleteFiles", "htdocs/js/_combo*" ],
[ "deleteFile", "htdocs/index.html" ],
[ "deleteFile", "htdocs/index.html.gz" ],
[ "symlinkFile", "htdocs/index-dev.html", "htdocs/index.html" ],
[ "symlinkFile", "../../xyops/docs", "docs" ]
],
"dist": [
[ "deleteFile", "docs" ],
[ "deleteFile", "htdocs/index.html" ],
[ "shellExec", "tmp=\"$(mktemp -d)\" && curl -fsSL \"https://codeload.github.com/pixlcore/xyops/tar.gz/refs/heads/main\" | tar -xz -C \"$tmp\" && mv \"$tmp\"/*/docs ./docs && rm -rf \"$tmp\"" ],
{
"action": "bundleCompress",
"strip_source_maps": true,
"dest_bundle": "htdocs/css/_combo.css",
"src_html_file": "htdocs/index-dev.html",
"dest_html_file": "htdocs/index.html",
"match_key": "COMBINE_STYLE",
"dest_bundle_tag": "<link rel=\"stylesheet\" href=\"/css/_combo.css?v=[version]\">"
},
{
"action": "bundleCompress",
"uglify": false,
"header": "/* Copyright (c) PixlCore.com. */",
"dest_bundle": "htdocs/js/_combo.js",
"src_html_file": "htdocs/index.html",
"dest_html_file": "htdocs/index.html",
"match_key": "COMBINE_SCRIPT",
"dest_bundle_tag": "<script src=\"/js/_combo.js?v=[version]\"></script>"
},
{
"action": "printMessage",
"lines": [
"Welcome to xyDocs!",
"Enjoy!"
]
}
]
}
}