aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMarkus Reiter2017-10-07 15:50:58 +0200
committerGitHub2017-10-07 15:50:58 +0200
commitee6a2c4e9c64b63bd32eff491aa952c4275d339c (patch)
tree78cb902742f6fb5178a333c315550e0af983afc6 /Library/Homebrew
parent8f43d6b9f77b0ec50a0d891851bc844661e64fff (diff)
parent4fde8f56ce0515a359f817376cd18b5e62f1512b (diff)
downloadbrew-ee6a2c4e9c64b63bd32eff491aa952c4275d339c.tar.bz2
Merge pull request #3282 from commitay/abstract-artifact
Cask AbstractArtifact: fix install order
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cask/lib/hbc/artifact/abstract_artifact.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/artifact/abstract_artifact.rb b/Library/Homebrew/cask/lib/hbc/artifact/abstract_artifact.rb
index 17a778f66..f9f736662 100644
--- a/Library/Homebrew/cask/lib/hbc/artifact/abstract_artifact.rb
+++ b/Library/Homebrew/cask/lib/hbc/artifact/abstract_artifact.rb
@@ -50,8 +50,10 @@ module Hbc
Vst3Plugin,
ScreenSaver,
],
- Binary,
+ # `pkg` should be run before `binary`, so
+ # targets are created prior to linking.
Pkg,
+ Binary,
PostflightBlock,
Zap,
].each_with_index.flat_map { |classes, i| [*classes].map { |c| [c, i] } }.to_h