raykit 0.0.325 → 0.0.326
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/lib/raykit/msbuild.rb +13 -0
- data/lib/raykit/project.rb +1 -1
- data/lib/raykit.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b03662c8cedb6e2e5661562a7d1602ea64c97732b41f66a9156a7006580037d
|
4
|
+
data.tar.gz: 871b92663b0fc51c52d27498e2bd57f3e981acfd573970c98512054b57da5cc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 190c9c3d09891549fd4f53cd9bfe7b8e8880754270f53184099b8927979ff62eeafebd195e08cb639d22031673f6f3e5255367a1d4ab2a74ee2ac9313deb66f4
|
7
|
+
data.tar.gz: 19bfcc016d2dc5db1a6bd070ef785b95dd8325baf3fbf630ad21e7a8f56e4cacc733b7feffecb8f62aa4dd09767ef5a990932561322f9b4fb14ac413cf4c3e0c
|
data/lib/raykit/msbuild.rb
CHANGED
@@ -19,5 +19,18 @@ module Raykit
|
|
19
19
|
end
|
20
20
|
""
|
21
21
|
end
|
22
|
+
|
23
|
+
def self.msbuild_2019_path
|
24
|
+
["2019/Enterprise/MSBuild/Current/Bin",
|
25
|
+
"2019/Professional/MSBuild/Current/Bin",
|
26
|
+
"2019/Community/MSBuild/Current/Bin"].each do |relative_path|
|
27
|
+
["C:/Program Files/Microsoft Visual Studio/",
|
28
|
+
"C:/Program Files (x86)/Microsoft Visual Studio/"].each do |prog_path|
|
29
|
+
path = "#{prog_path}#{relative_path}"
|
30
|
+
return path if Dir.exist?(path)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
""
|
34
|
+
end
|
22
35
|
end
|
23
36
|
end
|
data/lib/raykit/project.rb
CHANGED
@@ -279,7 +279,7 @@ module Raykit
|
|
279
279
|
|
280
280
|
def run(command, quit_on_failure = true)
|
281
281
|
if command.is_a?(Array)
|
282
|
-
command.each { |subcommand| run(subcommand, quit_on_failure
|
282
|
+
command.each { |subcommand| run(subcommand, quit_on_failure) }
|
283
283
|
else
|
284
284
|
cmd = Command.new(command).set_timeout(0).run
|
285
285
|
cmd.summary
|
data/lib/raykit.rb
CHANGED
@@ -14,4 +14,4 @@ SECRETS = Raykit::Secrets.new
|
|
14
14
|
# TIMER=Raykit::Timer.new
|
15
15
|
|
16
16
|
REPOSITORIES = Raykit::Git::Repositories.new("#{Raykit::Environment.get_dev_dir("log")}/Raykit.Git.Repositories.json")
|
17
|
-
GIT_DIRECTORY = Raykit::Git::Directory.new(Rake.application.original_dir)
|
17
|
+
GIT_DIRECTORY = Raykit::Git::Directory.new(Rake.application.original_dir) if Dir.exist?(".git")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raykit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.326
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|