summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2023-10-20 19:23:21 +0200
committerEugen Wissner <belka@caraus.de>2023-10-20 19:23:21 +0200
commit8a69240d88470c3f6076c8dd9130144a2e231a46 (patch)
tree7cdca1375affa47b2c36c3d19ce24c013ea38cb7 /Rakefile
parent3a6d17952b247682f1cb794ef27b26c9b007f00d (diff)
downloadslackbuilder-8a69240d88470c3f6076c8dd9130144a2e231a46.tar.gz
Add librsync and dmd
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile16
1 files changed, 0 insertions, 16 deletions
diff --git a/Rakefile b/Rakefile
index 45a6821..98ef806 100644
--- a/Rakefile
+++ b/Rakefile
@@ -10,7 +10,6 @@ require 'open3'
require_relative 'config/config'
require_relative 'lib/package'
require_relative 'lib/download'
-require_relative 'lib/up2date'
task :dmd, [:version] do |_, arguments|
raise 'Version is not specified.' unless arguments.key? :version
@@ -42,18 +41,3 @@ task :hhvm, [:version] do |_, arguments|
update_slackbuild_version 'development/hhvm', package.version
end
-
-AUTO_UPDATABLE = {
- 'dmd' => [SlackBuilder::LatestText.new('https://downloads.dlang.org/releases/LATEST')]
-}.freeze
-
-task :up2date do
- AUTO_UPDATABLE.each do |key, value|
- repository, updater = value
- latest_version = SlackBuilder.check_for_latest key, repository
- next if latest_version.nil? || updater.nil?
-
- puts "Would like to update #{key} to #{latest_version} (y/N)? "
- updater.update latest_version if $stdin.gets.chomp.downcase.start_with? 'y'
- end
-end