This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues/pull-requests.
2019-09-06 00:39:11 +02:00
|
|
|
|
|
|
|
abstract class Package::Backend::Packaging
|
|
|
|
getter name : String
|
|
|
|
|
|
|
|
def initialize(@name)
|
|
|
|
end
|
|
|
|
|
2021-03-02 15:42:17 +01:00
|
|
|
abstract def package(pkgdir : String, architecture : String, package : Package) : Bool
|
2021-02-28 20:56:51 +01:00
|
|
|
def self.install(packages : Array(String))
|
|
|
|
raise "'install' unimplemented for this backend, yet"
|
|
|
|
end
|
|
|
|
def install(packages : Array(String))
|
|
|
|
self.install packages
|
|
|
|
end
|
2019-09-06 00:39:11 +02:00
|
|
|
end
|
|
|
|
|
2021-03-02 15:42:17 +01:00
|
|
|
require "./backends/*"
|