minke 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/minke/commands/go.rb +2 -2
- data/lib/minke/commands/swift.rb +1 -1
- data/lib/minke/helpers.rb +2 -2
- data/lib/minke/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGVkNzVjMzRlODMyYjM5OGRmODZhZTI0NTlmYjVlZGEzYzBjNjk1ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWM5YWE2NTYyYzk2ODg4MjkxOTNiMjE0MzZkOTZmOTc5MzM5YjMzYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTE4YmUwYzE2MjZiYzllNWMzNjJhZTQ5MjZkYmQzMjEwN2U2YWVkNWVkNjdi
|
10
|
+
NTZjMTRhODkyMjFiYmFiZTkyYmJmOWQ0NzUyZjg5ZTY1NDQ2NTc5MjFmMjE3
|
11
|
+
ZDcyNGY1N2MxNzRiMGMxYmViODM2OTE1NjU5NjcwMmNmYTY5OGM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjI3MmEzOTExZjdmNzg3MGY3MjlkZTVjZGQzYmIxMGVmNTQ1MTVlNDIyZDkx
|
14
|
+
ZGM2MmMyNDIwZDBhMTUzZWVkZDU5NWU2OTVlNGNmMzZlMDRiYTAxZWRlNDJm
|
15
|
+
ZDg0M2RkZjVmYjczZTRjODRmODFhNDdmOTYwODhiMzBmOTY4MDU=
|
data/lib/minke/commands/go.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
module Minke
|
2
2
|
module Commands
|
3
3
|
class Go
|
4
|
-
def commands
|
4
|
+
def commands config
|
5
5
|
{
|
6
6
|
:build => {
|
7
7
|
:get => ['go','get','-t','-v','-d','./...'],
|
8
|
-
:build => ['go','build','-a','-installsuffix','cgo','-ldflags','\'-s\'','-o', "
|
8
|
+
:build => ['go','build','-a','-installsuffix','cgo','-ldflags','\'-s\'','-o', "#{config['application_name']}"],
|
9
9
|
:test => ['go','test','./...']
|
10
10
|
},
|
11
11
|
:docker => {
|
data/lib/minke/commands/swift.rb
CHANGED
data/lib/minke/helpers.rb
CHANGED
@@ -28,8 +28,8 @@ module Minke
|
|
28
28
|
def self.load_config config_file
|
29
29
|
@config = YAML.parse(ERB.new(File.read(config_file)).result).transform
|
30
30
|
|
31
|
-
@config[:build_config] = Minke::Commands::Go.new.commands unless @config['language'] != 'go'
|
32
|
-
@config[:build_config] = Minke::Commands::Swift.new.commands unless @config['language'] != 'swift'
|
31
|
+
@config[:build_config] = Minke::Commands::Go.new.commands(@config) unless @config['language'] != 'go'
|
32
|
+
@config[:build_config] = Minke::Commands::Swift.new.commands(@config) unless @config['language'] != 'swift'
|
33
33
|
end
|
34
34
|
|
35
35
|
def self.copy_files assets
|
data/lib/minke/version.rb
CHANGED