-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
101 lines (98 loc) · 2.03 KB
/
config.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
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
'use strict';
module.exports = [
{
type: 'checkbox',
name: 'architectures',
message: 'supported architectures',
choices: function () {
var list = [];
module.exports[0].default.forEach(function (arch) {
list.push({
name: arch,
checked: true,
});
});
return list;
},
default: [
'mswindows-i386',
'mswindows-amd64',
'linux-i386',
'linux-amd64',
'linux-aarch64',
'darwin-i386',
'darwin-amd64',
'darwin-aarch64',
'solaris-i386',
'solaris-amd64',
'freebsd-i386',
'freebsd-amd64',
],
},
{
type: 'input',
name: 'pkgCfgFileName',
message: 'config file name for wpkg definitions',
default: 'config.yaml',
},
{
type: 'input',
name: 'pkgScript',
message: 'template name for wpkg scripts',
default: 'script',
},
{
type: 'input',
name: 'pkgMakeall',
message: 'make all script name',
default: 'makeall',
},
{
type: 'input',
name: 'pkgWPKG',
message: 'wpkg directory for packages',
default: 'WPKG',
},
{
type: 'input',
name: 'pkgToolchainRepository',
message: 'toolchain repository path',
default: 'toolchain/',
},
{
type: 'input',
name: 'pkgIndex',
message: 'index file for wpkg repositories',
default: 'index.tar.gz',
},
{
type: 'input',
name: 'wpkgTemp',
message: 'temporary directory for wpkg (empty for user temp)',
default: './var/tmp/',
},
{
type: 'input',
name: 'stamps',
message: 'location for build stamps',
default: './var/xcraft-contrib-pacman/',
},
{
type: 'confirm',
name: 'http.enabled',
message: 'enable HTTP server for WPKG repositories',
default: true,
},
{
type: 'input',
name: 'http.port',
message: 'set the HTTP server port for the repositories',
default: 12321,
},
{
type: 'input',
name: 'http.hostname',
message: 'set the HTTP hostname for the repositories',
default: '0.0.0.0',
},
];