cloudwalk 1.6.1 → 1.7.0
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/exe/i386-apple-darwin14 +0 -0
- data/exe/i686-pc-linux-gnu +0 -0
- data/exe/i686-w64-mingw32.exe +0 -0
- data/exe/x86_64-apple-darwin14 +0 -0
- data/exe/x86_64-pc-linux-gnu +0 -0
- data/exe/x86_64-w64-mingw32.exe +0 -0
- data/lib/cloudwalk/posxml/rake_task.rb +1 -1
- data/lib/cloudwalk/ruby/rake_task.rb +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c0b68813f550a83bc73d5b9f028433b05ff4c5e
|
|
4
|
+
data.tar.gz: 54f1a6cf8cb14b0f4d70c80adfb427283f1838e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44e39e35804e809f1810f1381567345db684bc57c28a163ebc33ca9d5509c84debce055065bde01a606f4d83a252cbe2bfd569502cc024218871c50595d95352
|
|
7
|
+
data.tar.gz: 0270a2e556d8ad39e2453eb04c7db2249e5154cd8bfbfa5954a5534dd109d5d98747c09b03d203aef913e6b7800fb15c097b984b4fb9d1effb8c55b3de31c31d
|
data/exe/i386-apple-darwin14
CHANGED
|
Binary file
|
data/exe/i686-pc-linux-gnu
CHANGED
|
Binary file
|
data/exe/i686-w64-mingw32.exe
CHANGED
|
Binary file
|
data/exe/x86_64-apple-darwin14
CHANGED
|
Binary file
|
data/exe/x86_64-pc-linux-gnu
CHANGED
|
Binary file
|
data/exe/x86_64-w64-mingw32.exe
CHANGED
|
Binary file
|
|
@@ -89,7 +89,7 @@ module Cloudwalk
|
|
|
89
89
|
|
|
90
90
|
if path = ARGV[1..-1].first
|
|
91
91
|
xmls = [self.libs.find { |file| file == path }]
|
|
92
|
-
xmls.zip([File.join(out, File.basename(xml2rb(
|
|
92
|
+
xmls.zip([File.join(out, File.basename(xml2rb(path)))])
|
|
93
93
|
else
|
|
94
94
|
xmls = self.libs.inject([]) do |array, lib|
|
|
95
95
|
array << [lib, File.join(out, File.basename(xml2rb(lib)))]
|
|
@@ -17,7 +17,14 @@ module Cloudwalk
|
|
|
17
17
|
include Cloudwalk::ManagerHelper
|
|
18
18
|
include ::Rake::DSL if defined?(::Rake::DSL)
|
|
19
19
|
|
|
20
|
+
attr_accessor :debug, :debug_flag
|
|
21
|
+
|
|
20
22
|
def initialize
|
|
23
|
+
yield self if block_given?
|
|
24
|
+
|
|
25
|
+
@debug ||= false
|
|
26
|
+
@debug_flag = @debug ? '-g' : ''
|
|
27
|
+
|
|
21
28
|
define
|
|
22
29
|
end
|
|
23
30
|
|
|
@@ -56,7 +63,7 @@ module Cloudwalk
|
|
|
56
63
|
files.each do |file,out|
|
|
57
64
|
next if file == "./lib/main.rb"
|
|
58
65
|
if File.file?(file)
|
|
59
|
-
sh "cloudwalk compile
|
|
66
|
+
sh "cloudwalk compile #{self.debug_flag} -o #{out} #{file}"
|
|
60
67
|
end
|
|
61
68
|
end
|
|
62
69
|
end
|
|
@@ -64,6 +71,7 @@ module Cloudwalk
|
|
|
64
71
|
desc "Create zipfile from all .mrb"
|
|
65
72
|
task :single_package do
|
|
66
73
|
require "archive/zip"
|
|
74
|
+
FileUtils.rm_f "./out/mrb.zip"
|
|
67
75
|
Archive::Zip.archive "./out/mrb.zip", FileList["./out/shared/*.mrb"].to_a
|
|
68
76
|
end
|
|
69
77
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudwalk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thiago Scalone
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-03-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|