-
Notifications
You must be signed in to change notification settings - Fork 6
/
Rakefile
33 lines (26 loc) · 1.2 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (c) 2018 SUSE LLC.
# All Rights Reserved.
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 or 3 of the GNU General
# Public License as published by the Free Software Foundation.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact SUSE LLC.
# To contact SUSE about this file by physical or electronic mail,
# you may find current contact information at www.suse.com
require 'yast/rake'
Yast::Tasks.configuration do |conf|
# The package does not live in the official YaST:Head OBS project
conf.obs_project = 'systemsmanagement:SCC:RMT'
# Default target for osc:build
conf.obs_target = 'openSUSE_Factory'
conf.skip_license_check = [ %r{^Gemfile\.lock$}, %r{rmt\.desktop} , %r{rmt.*\.cnf\.erb$} ]
end
# This is required, because `yast-travis-ruby` binary calls `rake test:unit`
desc 'Run rspec'
task 'test:unit' do
sh 'rspec'
end