go4rake 1.4.3 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/examples/go4rake.yml +2 -2
- data/lib/go4rake/new.rb +1 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3304d331b22198bb7e65b9c7ec25ddda9c0c34b3
|
4
|
+
data.tar.gz: 875655832ca36c0d2e4a6d3d3420fb79460057c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b049812096d5ca2d33d5aa991bf8d7c44a27ea77cf0d09494d7ed80b8220752f23562a0212f4fa8f8655fba60a59098e588d10f90a08f6f3ebbb316ab4db5551
|
7
|
+
data.tar.gz: 191e581a5afb73d7d59b50bc7e09addb358a93b0abcdd8865160c90fd182f4f2ef7b992301c19e9551d45973696c5c4fe7249d62aeb1a65821ac05f59e3837fe
|
data/README.md
CHANGED
@@ -50,7 +50,8 @@ These files will be also included into the ZIP files:
|
|
50
50
|
Please note that:
|
51
51
|
|
52
52
|
* If `out` is specified, ZIP files will appear in the specified
|
53
|
-
directory; if not, they will be in
|
54
|
-
*
|
53
|
+
directory; if not, they will be in `~/Downloads`.
|
54
|
+
* Also please note that current files with the same names as your targets are overwritten.
|
55
|
+
* If `files` are not specified, a `NOTICE` file will be included in ZIP
|
55
56
|
files, if it's found in the project directory
|
56
57
|
* `arch` is appended to the file name if `arch` is a list
|
data/examples/go4rake.yml
CHANGED
data/lib/go4rake/new.rb
CHANGED
@@ -19,6 +19,7 @@ class Go4Rake < ::Rake::TaskLib
|
|
19
19
|
def initialize(yml = 'go4rake.yml')
|
20
20
|
begin
|
21
21
|
@config = YAML.load_file(yml)
|
22
|
+
@config['out'] ||= '~/Downloads' # Default to ~/Downloads, if 'out' is not specified.
|
22
23
|
tasks(@config, yml)
|
23
24
|
rescue => e
|
24
25
|
$stderr.puts("WARNING: Skipping `build` and `zip` tasks: #{e}")
|
@@ -44,7 +45,6 @@ class Go4Rake < ::Rake::TaskLib
|
|
44
45
|
|
45
46
|
desc 'ZIP this project binaries'
|
46
47
|
task zip: [:build, :test] do
|
47
|
-
cfg['out'] ||= '.' # Default to the current directory, if 'out' is not specified.
|
48
48
|
|
49
49
|
cfg['platforms'].each { |os|
|
50
50
|
if os['arch'].respond_to?('each')
|
@@ -61,8 +61,6 @@ class Go4Rake < ::Rake::TaskLib
|
|
61
61
|
|
62
62
|
desc 'Delete ZIP files'
|
63
63
|
task :clean do
|
64
|
-
cfg['out'] ||= '.' # Default to the current directory, if 'out' is not specified.
|
65
|
-
|
66
64
|
cfg['platforms'].each { |os|
|
67
65
|
if os['arch'].respond_to?('each')
|
68
66
|
os['arch'].each { |arch|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: go4rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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: 2016-
|
11
|
+
date: 2016-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
version: '1.2'
|
41
41
|
description: '`build`, `zip, `test`` and `clean` tasks for cross-compilation of Go
|
42
42
|
programs'
|
43
|
-
email: vasily.korytov@
|
43
|
+
email: vasily.korytov@icloud.com
|
44
44
|
executables: []
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|