-
Notifications
You must be signed in to change notification settings - Fork 17
/
Gruntfile.js
72 lines (68 loc) · 2.61 KB
/
Gruntfile.js
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
module.exports = function(grunt) {
var webapp_path = "lib/";
grunt.initConfig({
"curl-dir": {
"jui-core.js": {
src: [
"https://raw.githubusercontent.com/juijs/jui-core/develop/dist/core.js",
"https://raw.githubusercontent.com/juijs/jui-core/develop/dist/core.min.js"
],
dest: webapp_path + "jui/js"
},
"jui-chart.js": {
src: [
"https://raw.githubusercontent.com/juijs/jui-chart/develop/dist/chart.js",
"https://raw.githubusercontent.com/juijs/jui-chart/develop/dist/chart.min.js"
],
dest: webapp_path + "jui/js"
},
"jui.js": {
src: [
"https://raw.githubusercontent.com/juijs/jui/develop/dist/ui.js",
"https://raw.githubusercontent.com/juijs/jui/develop/dist/ui.min.js"
],
dest: webapp_path + "jui/js"
},
"jui.css": {
src: [
"https://raw.githubusercontent.com/juijs/jui/develop/dist/ui.css",
"https://raw.githubusercontent.com/juijs/jui/develop/dist/ui.min.css",
"https://raw.githubusercontent.com/juijs/jui/develop/dist/ui-jennifer.css",
"https://raw.githubusercontent.com/juijs/jui/develop/dist/ui-jennifer.min.css",
"https://raw.githubusercontent.com/juijs/jui/develop/dist/ui-dark.css",
"https://raw.githubusercontent.com/juijs/jui/develop/dist/ui-dark.min.css"
],
dest: webapp_path + "jui/css"
},
"jui-grid.js": {
src: [
"https://raw.githubusercontent.com/juijs/jui-grid/develop/dist/grid.js",
"https://raw.githubusercontent.com/juijs/jui-grid/develop/dist/grid.min.js"
],
dest: webapp_path + "jui/js"
},
"jui-grid.css": {
src: [
"https://raw.githubusercontent.com/juijs/jui-grid/develop/dist/grid.css",
"https://raw.githubusercontent.com/juijs/jui-grid/develop/dist/grid.min.css",
"https://raw.githubusercontent.com/juijs/jui-grid/develop/dist/grid-jennifer.css",
"https://raw.githubusercontent.com/juijs/jui-grid/develop/dist/grid-jennifer.min.css",
"https://raw.githubusercontent.com/juijs/jui-grid/develop/dist/grid-dark.css",
"https://raw.githubusercontent.com/juijs/jui-grid/develop/dist/grid-dark.min.css"
],
dest: webapp_path + "jui/css"
},
"jui.img.icon": {
src: [
"https://raw.githubusercontent.com/juijs/jui/develop/img/icon/icomoon.eot",
"https://raw.githubusercontent.com/juijs/jui/develop/img/icon/icomoon.svg",
"https://raw.githubusercontent.com/juijs/jui/develop/img/icon/icomoon.ttf",
"https://raw.githubusercontent.com/juijs/jui/develop/img/icon/icomoon.woff"
],
dest: webapp_path + "jui/img/icon"
}
},
pkg: grunt.file.readJSON("package.json")
});
require("load-grunt-tasks")(grunt);
};