Skip to content
Snippets Groups Projects
Verified Commit d7e6c5ca authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Use some modern ruby-isms for rake/gemspec

parent d9cc141d
No related branches found
No related tags found
No related merge requests found
Pipeline #94463 passed
require "bundler/gem_tasks" #!/usr/bin/env rake
require "rake/testtask" # frozen_string_literal: true
require 'bundler/gem_tasks'
require 'rake/testtask'
Rake::TestTask.new(:test) do |t| Rake::TestTask.new(:test) do |t|
t.libs << "test" t.libs << 'test'
t.libs << "lib" t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb'] t.test_files = FileList['test/**/*_test.rb']
end end
task :default => :test task default: :test
# frozen_string_literal: true # frozen_string_literal: true
lib = File.expand_path('lib', __dir__) require_relative 'lib/foreman_uuid_boot/version'
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'foreman_uuid_boot/version'
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = 'foreman_uuid_boot' spec.name = 'foreman_uuid_boot'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment