Skip to content

Commit

Permalink
Remove autotools.
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Mar 12, 2018
1 parent 3d05604 commit 0e4836d
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 142 deletions.
15 changes: 0 additions & 15 deletions .gitignore
@@ -1,24 +1,9 @@
Makefile
Makefile.am
Makefile.am.common
Makefile.in
aclocal.m4
config.cache
config.guess
config.h.in
config.log
config.status
config.sub
configure
configure.ac
depcomp
install-sh
missing
mkinstalldirs
stamp-h
rdp.pot
autom4te.cache
*.ami
.yardoc/
/doc/autodocs/
testsuite/raw.tmp.*
22 changes: 0 additions & 22 deletions Makefile.cvs

This file was deleted.

12 changes: 0 additions & 12 deletions configure.in.in

This file was deleted.

2 changes: 0 additions & 2 deletions doc/.gitignore

This file was deleted.

10 changes: 0 additions & 10 deletions doc/Makefile.am

This file was deleted.

3 changes: 0 additions & 3 deletions doc/autodocs/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions doc/autodocs/Makefile.am

This file was deleted.

6 changes: 4 additions & 2 deletions package/yast2-rdp.spec
Expand Up @@ -38,11 +38,13 @@ Configure RDP (remote desktop protocol) daemon to allow remote system administra
%prep
%setup -n %{name}-%{version}

%check
rake test:unit

%build
%yast_build

%install
%yast_install
rake install DESTDIR="%{buildroot}"

%files
%defattr(-,root,root)
Expand Down
19 changes: 0 additions & 19 deletions src/Makefile.am

This file was deleted.

46 changes: 46 additions & 0 deletions test/test_helper.rb
@@ -0,0 +1,46 @@
# encoding: utf-8

# ------------------------------------------------------------------------------
# Copyright (c) 2018 SUSE LLC
#
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of version 2 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.
#
# To contact SUSE about this file by physical or electronic mail, you may find
# current contact information at www.suse.com.
# ------------------------------------------------------------------------------

# Set the paths
src_path = File.expand_path("../../src", __FILE__)
ENV["Y2DIR"] = src_path

require "yast"
require "yast/rspec"

if ENV["COVERAGE"]
require "simplecov"
SimpleCov.start do
add_filter "/test/"
end

# for coverage we need to load all ruby files
Dir["#{src_path}/{modules,lib}/**/*.rb"].each { |f| require_relative f }

# use coveralls for on-line code coverage reporting at Travis CI
if ENV["TRAVIS"]
require "coveralls"
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
end
end
11 changes: 0 additions & 11 deletions testsuite/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions testsuite/Makefile.am

This file was deleted.

Empty file removed testsuite/tests/.gitignore
Empty file.
Empty file removed testsuite/tests/Rdp.err
Empty file.
1 change: 0 additions & 1 deletion testsuite/tests/Rdp.out

This file was deleted.

21 changes: 0 additions & 21 deletions testsuite/tests/Rdp.rb

This file was deleted.

0 comments on commit 0e4836d

Please sign in to comment.