mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-01-07 14:33:08 -06:00
18ebb9d9ed
Turn on frozen string support in all files by using a comment to avoid enabling across dependencies where it may not work. Fixes: #1177
25 lines
583 B
Ruby
25 lines
583 B
Ruby
# frozen_string_literal: true
|
|
#require 'rubygems'
|
|
#require 'bundler/setup'
|
|
require 'bundler/gem_tasks'
|
|
require File.expand_path('../lib/vagrant-libvirt/version', __FILE__)
|
|
|
|
Bundler::GemHelper.install_tasks
|
|
task default: [:deftask]
|
|
task :deftask do
|
|
puts 'call rake -T'
|
|
end
|
|
|
|
task :write_version do
|
|
VagrantPlugins::ProviderLibvirt.write_version()
|
|
end
|
|
|
|
task :clean_version do
|
|
rm_rf File.expand_path('../lib/vagrant-libvirt/version', __FILE__)
|
|
end
|
|
|
|
task "clean" => :clean_version
|
|
task :write_version => :clean_version
|
|
task "build" => :write_version
|
|
task "release" => :write_version
|