go4rake 1.4.3 → 1.5.2

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: c7945dae8c9bbaf53504dba57c93bafc95657cff
4
- data.tar.gz: f66bdf4a6879756f3f6c69788a2d736be0c0672e
3
+ metadata.gz: 3304d331b22198bb7e65b9c7ec25ddda9c0c34b3
4
+ data.tar.gz: 875655832ca36c0d2e4a6d3d3420fb79460057c8
5
5
  SHA512:
6
- metadata.gz: 63f048bd51b3a188e762ccecf54016a10111930d2a14c8c489f25c0a5998a13509564094311c0b39da2969a04abe4a8a659484d384b3244d02eabcb0027f3b62
7
- data.tar.gz: 558fd2eda9cefadea64c9b81c7ca8f95fac8487af8d82c8a5a31cccf78cfb6e7769e1bb73434560f347a7dca3d10903e5b9d97326449e5767e2f89488c0c1f29
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 current directory
54
- * if `files` are not specified, a `NOTICE` file will be included in ZIP
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
@@ -1,8 +1,8 @@
1
1
  # go4rake config
2
2
  # Public domain
3
3
 
4
- # ZIP file directory. If absent, the current directory is used.
5
- out: ~/Downloads
4
+ # ZIP file directory. If absent, ~/Downloads is used:
5
+ #out: .
6
6
 
7
7
  # Additional files to include in ZIP file. Optional.
8
8
  files:
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.3
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-03-24 00:00:00.000000000 Z
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@yandex.com
43
+ email: vasily.korytov@icloud.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []