go4rake 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -7
- data/lib/go4rake/new.rb +1 -0
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76a14be97ef1d03c8673422caa95fcb368805b81
|
4
|
+
data.tar.gz: b3938b6803d6c0c34cba2324f13c92f709c20e15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3c1dd5c85d32d1f8dd53dee65cd53e191c0dcecd692572a0077ad9de343a4f935d11d5f566e24d9689cd9e0dfb50e61b0230ee75c4be4e1d88073ece251a036
|
7
|
+
data.tar.gz: 8a6862de6bd43e930f49c4b0c84645f42b74c9b8337ebad804108d9b0cb87a77b18a646f3480879ff775f3b78940848c6516374216a13b1a2e9526ddef8bd016
|
data/README.md
CHANGED
@@ -13,12 +13,9 @@ This gem provides the following tasks:
|
|
13
13
|
|
14
14
|
The reason only the native runtime is supported in `test` is that `go test` for a different operating system does not work. That's a pity.
|
15
15
|
|
16
|
-
###
|
16
|
+
### Installation and usage
|
17
17
|
|
18
|
-
* Go
|
19
|
-
(Mac and [Homebrew](http://brew.sh/) users can run `brew install go --with-cc-common`
|
20
|
-
or `brew install go --with-cc-all` for this, on other Unix and Windows you should
|
21
|
-
[build Go from source](http://dave.cheney.net/2013/07/09/an-introduction-to-cross-compilation-with-go-1-1).)
|
18
|
+
* Install [Go](https://golang.org/dl/).
|
22
19
|
* Install [Ruby](https://www.ruby-lang.org/en/documentation/installation/). `gem` utility comes with it.
|
23
20
|
* Install go4rake: `gem install go4rake`.
|
24
21
|
* Enable go4rake in `Rakefile`: include `require 'go4rake'` in it (create the file, if missing).
|
@@ -57,8 +54,6 @@ Please note that:
|
|
57
54
|
directory; if not, they will be in current directory
|
58
55
|
* if `files` is not specified, a `NOTICE` file will be included in ZIP
|
59
56
|
files, if it's found in the project directory
|
60
|
-
* if you remove `NOTICE` or change `files` not to include some file,
|
61
|
-
you have to re-generate ZIP files: `rake clean zip`
|
62
57
|
* ZIP file permissions default to `0600`, this is due to
|
63
58
|
[bug in rubyzip](https://github.com/rubyzip/rubyzip/issues/204)
|
64
59
|
* `arch` is appended to the file name if `arch` is a list
|
data/lib/go4rake/new.rb
CHANGED
@@ -13,6 +13,7 @@ require 'zip/filesystem'
|
|
13
13
|
# Docs: https://github.com/chillum/go4rake/blob/master/README.md
|
14
14
|
#
|
15
15
|
# Offline copies of README and example config are also included in this gem.
|
16
|
+
#
|
16
17
|
class Go4Rake < ::Rake::TaskLib
|
17
18
|
# Load configuration file and initialize Rake tasks for cross-compiling Go programs.
|
18
19
|
def initialize(yml = 'go4rake.yml')
|
metadata
CHANGED
@@ -1,46 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: go4rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vasily Korytov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '10.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '10.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubyzip
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.1'
|
41
|
-
description:
|
42
|
-
programs
|
43
|
-
email: vasily.korytov@
|
41
|
+
description: '`build`, `zip, `test`` and `clean` tasks for cross-compilation of Go
|
42
|
+
programs'
|
43
|
+
email: vasily.korytov@yandex.com
|
44
44
|
executables: []
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
@@ -60,17 +60,17 @@ require_paths:
|
|
60
60
|
- lib
|
61
61
|
required_ruby_version: !ruby/object:Gem::Requirement
|
62
62
|
requirements:
|
63
|
-
- -
|
63
|
+
- - '>='
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: 1.9.2
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - '>='
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.
|
73
|
+
rubygems_version: 2.0.14
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Rake helper for cross-compiling Go programs
|