-
Notifications
You must be signed in to change notification settings - Fork 41
/
Gruntfile.js
43 lines (37 loc) · 970 Bytes
/
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
module.exports = function gruntfile(grunt) {
require('load-grunt-tasks')(grunt)
grunt.option('stack', true)
grunt.registerTask('release', [
'fileExists:bin',
'checkport',
'gitcheckout:master',
'gitadd:all',
'gitstatuscheck',
'prompt:release',
'build',
'clean:reports',
'protractor',
'solc-output-deploy:production',
'version::patch',
'clean:packages',
'download-geth',
'electron',
'compress',
'readme',
'gitadd:all',
'gitcommit:release',
'tagrelease',
'gitpush:master',
'wait:ten',
'githubAsset'
])
grunt.registerTask('contracts', [
'concat:contracts',
'solc',
'solc-output-deploy:development',
'create-info-js'
])
grunt.registerTask('build', ['concat', 'contracts', 'index', 'copy'])
grunt.registerTask('run', ['build', 'ticker:development', 'refill:development', 'watch'])
grunt.registerTask('test', ['refill:development', 'protractor'])
}