aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/artifact/binary.rb
blob: 06bdfe157682b141c21162b2d4b68bbbba3a28f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require "hbc/artifact/symlinked"

module Hbc
  module Artifact
    class Binary < Symlinked
      def install_phase
        super if CLI.binaries?
      end

      def link
        super
        FileUtils.chmod "+x", source
      end
    end
  end
end