cask/artifact: fix up some definitions
And expand the list of artifacts that target: works with.
This commit is contained in:
parent
2816c1274f
commit
b9dab243b5
@ -82,6 +82,7 @@ module Cask
|
|||||||
Service,
|
Service,
|
||||||
InputMethod,
|
InputMethod,
|
||||||
InternetPlugin,
|
InternetPlugin,
|
||||||
|
KeyboardLayout,
|
||||||
AudioUnitPlugin,
|
AudioUnitPlugin,
|
||||||
VstPlugin,
|
VstPlugin,
|
||||||
Vst3Plugin,
|
Vst3Plugin,
|
||||||
|
@ -11,11 +11,6 @@ module Cask
|
|||||||
class KeyboardLayout < Moved
|
class KeyboardLayout < Moved
|
||||||
extend T::Sig
|
extend T::Sig
|
||||||
|
|
||||||
sig { returns(String) }
|
|
||||||
def self.english_name
|
|
||||||
"Keyboard Layout"
|
|
||||||
end
|
|
||||||
|
|
||||||
def install_phase(**options)
|
def install_phase(**options)
|
||||||
super(**options)
|
super(**options)
|
||||||
delete_keyboard_layout_cache(**options)
|
delete_keyboard_layout_cache(**options)
|
||||||
|
@ -9,6 +9,12 @@ module Cask
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
class Vst3Plugin < Moved
|
class Vst3Plugin < Moved
|
||||||
|
extend T::Sig
|
||||||
|
|
||||||
|
sig { returns(String) }
|
||||||
|
def self.english_name
|
||||||
|
"VST3 Plugin"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -9,6 +9,12 @@ module Cask
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
class VstPlugin < Moved
|
class VstPlugin < Moved
|
||||||
|
extend T::Sig
|
||||||
|
|
||||||
|
sig { returns(String) }
|
||||||
|
def self.english_name
|
||||||
|
"VST Plugin"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -267,7 +267,7 @@ artifact "sapmachine-jdk-#{version}.jdk", target: "/Library/Java/JavaVirtualMach
|
|||||||
|
|
||||||
#### *target* Works on Most Artifact Types
|
#### *target* Works on Most Artifact Types
|
||||||
|
|
||||||
The `target:` key works similarly for most cask artifacts, such as `app`, `binary`, `colorpicker`, `dictionary`, `font`, `input_method`, `prefpane`, `qlplugin`, `mdimporter`, `service`, `suite`, and `artifact`.
|
The `target:` key works similarly for most cask artifacts, such as `app`, `binary`, `colorpicker`, `dictionary`, `font`, `input_method`, `internet_plugin`, `keyboard_layout`, `prefpane`, `qlplugin`, `mdimporter`, `screen_saver`, `service`, `suite`, `audio_unit_plugin`, `vst_plugin`, `vst3_plugin`, and `artifact`.
|
||||||
|
|
||||||
#### *target* Should Only Be Used in Select Cases
|
#### *target* Should Only Be Used in Select Cases
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user