minke-generator-swift 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 181a0e76fce385448aa65c1148e392228f8843b4
4
- data.tar.gz: 0051656b36a1ef1491a3c8b7281f79aa280ee521
3
+ metadata.gz: da4ef42c5570b8ad75c1982a7fc3ca28e46eecbf
4
+ data.tar.gz: 0450e3e5e8b5cfef031de15e79a4ab197feee44f
5
5
  SHA512:
6
- metadata.gz: 2872c200e6e475cdea5f47910fbe11610e83303fe5dca6d53f081c32b31b4f8b458e5aca38f1db6e2b92a0e268a0953d4b7f1c12988e69ba28f7a55fd90e7356
7
- data.tar.gz: 767b8205b8ddd7c260d58f4a81b204090dae3d6f074d02c9800fdd58dc23c62f6268fe6fa7fc2152fb79b0b57393af08b7184c1b6816534f4ee2b23fa8e19500
6
+ metadata.gz: 7509df7922844482dec4df99e40ed413445456c81a889a41b7893b1f2ac27743879c7883d7c09c0a86c046356acb6a46c0b5649d03cb49dd699d691f834d9b17
7
+ data.tar.gz: 18da87da75c034a94bceea81e254e639146909a4e2d2980d349a560f8db10112617d5c32511c733275d4b22badb13fef232a31fd1448ecc623c20689c976fa70
data/README.md CHANGED
@@ -1,3 +1,4 @@
1
+ ![Minke](http://minke.rocks/img/minke_logo.png)
1
2
  # Minke::Generators::Swift
2
3
 
3
4
  [![Build Status](https://travis-ci.org/nicholasjackson/minke-generator-swift.svg?branch=master)](https://travis-ci.org/nicholasjackson/minke-generator-swift)
@@ -1,7 +1,7 @@
1
1
  module Minke
2
2
  module Generators
3
3
  module Swift
4
- VERSION = "0.1.7"
4
+ VERSION = "0.1.8"
5
5
  end
6
6
  end
7
7
  end
@@ -20,7 +20,7 @@ module Minke
20
20
  end
21
21
 
22
22
  config.build_settings.docker_settings = Minke::Generators::DockerSettings.new.tap do |bs|
23
- bs.image = 'ibmcom/kitura-ubuntu'
23
+ bs.image = 'ibmcom/kitura-ubuntu:latest'
24
24
  bs.binds = ["<%= src_root %>/src:/src"]
25
25
  bs.working_directory = '/src'
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minke-generator-swift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-08 00:00:00.000000000 Z
11
+ date: 2016-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,7 +72,6 @@ files:
72
72
  - bin/console
73
73
  - bin/setup
74
74
  - lib/generators/swift.rb
75
- - lib/generators/swift/commands.rb
76
75
  - lib/generators/swift/scaffold/.gitignore
77
76
  - lib/generators/swift/scaffold/_build/.gitignore
78
77
  - lib/generators/swift/scaffold/_build/Gemfile
@@ -1,25 +0,0 @@
1
- module Minke
2
- module Commands
3
- def self.commands config
4
- {
5
- :build => {
6
- :get => [['go','get','-t','-v','-d','./...']],
7
- :build => [['go','build','-a','-installsuffix','cgo','-ldflags','\'-s\'','-o', "#{config['application_name']}"]],
8
- :test => [['go','test','./...']]
9
- },
10
- :docker => {
11
- :image => 'golang:latest',
12
- :env => ['CGO_ENABLED=0'],
13
- :binds => ["#{ENV['GOPATH']}/src:/go/src"],
14
- :working_directory => "#{working_directory}"
15
- }
16
- }
17
- end
18
-
19
- def self.working_directory
20
- dir = File.expand_path('../.')
21
- gopath = "#{ENV['GOPATH']}"
22
- new_dir = "/go" + dir.gsub(gopath,'')
23
- end
24
- end
25
- end