-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathGruntfile.js
73 lines (71 loc) · 1.7 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
72
73
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
products: {
'argos-saleslogix': {
basePath: '.',
},
'argos-sdk': {
basePath: '../../argos-sdk',
},
},
'lang-pack': {
'de': {
bundleName: "Mobile 4.4 DE",
},
'en-GB': {
bundleName: "Mobile 4.4 EN-GB",
},
'es': {
bundleName: "Mobile 4.4 ES",
},
'pt-BR': {
bundleName: "Mobile 4.4 PT-BR",
},
'fr': {
bundleName: "Mobile 4.4 FR",
},
'it': {
bundleName: "Mobile 4.4 IT",
},
'ja': {
bundleName: "Mobile 4.4 JA",
},
'nl': {
bundleName: "Mobile 4.4 NL",
},
'ru': {
bundleName: "Mobile 4.4 RU",
},
'th': {
bundleName: "Mobile 4.4 TH",
},
'zh-CN': {
bundleName: "Mobile 4.4 ZH-CN",
includes: [
{
src: './index.aspx',
dest: './deploy/bundle/model/Portal/SlxMobile/SourceFiles/products/argos-saleslogix/index.aspx'
}],
},
'zh-TW': {
bundleName: "Mobile 4.4 ZH-TW",
includes: [
{
src: './index.aspx',
dest: './deploy/bundle/model/Portal/SlxMobile/SourceFiles/products/argos-saleslogix/index.aspx'
}],
}
},
jsb: {
file: grunt.file.readJSON('./build/release.jsb2'),
options: {
},
},
});
// Load per-task config from separate files
grunt.loadTasks('grunt-tasks');
// Register alias tasks
grunt.registerTask('test', ['connect', 'jasmine:basic']);
grunt.registerTask('bundle', ['shell:bundle:<%= pkg.version %>']);
};