yast-rake 0.2.46 → 0.2.48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/yast/rake.rb +8 -10
- data/lib/yast/tasks.rb +3 -0
- 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: bf081ed548a11fce73c5c0d05856bf7ec2f560ca0214bd0fa334a66091c58b47
|
4
|
+
data.tar.gz: b19b96f328d17df3f4aed5fb8120aaafbbfb9213eca3321090b8c9d85b9e7993
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd9aed978d91efed2c0d8c8afe0d98ae4cd240e650475ceca8ac496f40d61924ddea00f24e4d1e899530a7ae8ff13ab1c61db9d40dd2776309c0ef9e2461ca1e
|
7
|
+
data.tar.gz: daed74aade453fd04f9811d38a3711a0741589ecc6a9fcc14c09aa396565df7b28ecc37d8b367af1f8b063aa8f7a1e54f8039dfc38895bfa8f9007d92bb95470
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.48
|
data/lib/yast/rake.rb
CHANGED
@@ -22,14 +22,19 @@ require_relative "tasks"
|
|
22
22
|
|
23
23
|
# yast integration testing takes too long and require osc:build so it create
|
24
24
|
# circle, so replace test dependency with test:unit
|
25
|
-
|
26
|
-
prerequisites =
|
25
|
+
ptask = Rake::Task["package"]
|
26
|
+
prerequisites = ptask.prerequisites
|
27
27
|
prerequisites.delete("test")
|
28
28
|
|
29
|
-
|
29
|
+
ptask.enhance(prerequisites)
|
30
30
|
|
31
31
|
yast_submit = ENV["YAST_SUBMIT"] || :factory
|
32
32
|
Yast::Tasks.submit_to(yast_submit.to_sym)
|
33
|
+
namespace :osc do
|
34
|
+
# This adds to existing desc
|
35
|
+
desc "Try YAST_SUBMIT=help rake...."
|
36
|
+
task :build
|
37
|
+
end
|
33
38
|
|
34
39
|
Yast::Tasks.configuration do |conf|
|
35
40
|
conf.package_name = File.read("RPMNAME").strip if File.exist?("RPMNAME")
|
@@ -42,10 +47,3 @@ task_path = File.expand_path("../tasks", __dir__)
|
|
42
47
|
Dir["#{task_path}/*.rake"].each do |f|
|
43
48
|
load f
|
44
49
|
end
|
45
|
-
|
46
|
-
# optionally load the tasks from yast-rake-ci if it is installed
|
47
|
-
begin
|
48
|
-
require "yast/rake_ci"
|
49
|
-
rescue LoadError
|
50
|
-
puts "INFO: Gem yast-rake-ci not installed, extra tasks not loaded" if verbose == true
|
51
|
-
end
|
data/lib/yast/tasks.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yast-rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.48
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josef Reidinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: packaging_rake_tasks
|