raykit 0.0.413 → 0.0.414
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0fd0e143714ba3d1861b2a5477df3c090d4af04291128312d58703517552dbb
|
4
|
+
data.tar.gz: ce68d0b95084c638a24a05bfbb2fff8199b3759c88cbf8408260780feb8ec1ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e961640f304b8018a4e5059925bd27e58e9dc5ed22194cc4f7825fd35e59b295bd12cdeb5d88a3bf16360b5308cc0e04f9271cb2e62ef3ad9af22ec847932b4
|
7
|
+
data.tar.gz: 3465a03d27d14be459e9487b1bfe4c850d837ee7c8f05ebd79239ef2413d02f65b77a724d7be89835639c6475a646d5277a6f16f8255778c1a7fc37119b082b1
|
data/lib/raykit.rb
CHANGED
@@ -46,6 +46,14 @@ if defined?(RAYKIT_GLOBALS)
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
+
def make_log(artifact, command)
|
50
|
+
if (File.exists?(artifact))
|
51
|
+
puts " #{artifact} exists"
|
52
|
+
else
|
53
|
+
run(command).log_to_file(artifact)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
49
57
|
def start_task(task_name)
|
50
58
|
Raykit::Log.start_task(task_name)
|
51
59
|
end
|