Skip to content

Commit

Permalink
remove special properties of caskroom_only
Browse files Browse the repository at this point in the history
HOLD until Homebrew#4865 is merged.

After Homebrew#4865, `caskroom_only` can be subclassed from Cask::Artifact::Base
like any other artifact.  It no longer has the special property of
making `uninstall` stanzas work.

This stanza has never been documented.  It is possible that it will
no longer be needed, after Homebrew#4865 and subsequent cleanup on Casks that
use this form.

References: Homebrew#4688
  • Loading branch information
rolandwalker committed Jun 13, 2014
1 parent b2e67e9 commit bd474f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cask/artifact/caskroom_only.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Cask::Artifact::CaskroomOnly < Cask::Artifact::Pkg
class Cask::Artifact::CaskroomOnly < Cask::Artifact::Base
def self.artifact_dsl_key
:caskroom_only
end
Expand Down

0 comments on commit bd474f3

Please sign in to comment.