2017-03-08 16:49:28 +01:00

17 lines
282 B
Ruby

require "hbc/artifact/symlinked"
module Hbc
module Artifact
class Binary < Symlinked
def install_phase
super if CLI.binaries?
end
def link(artifact_spec)
super(artifact_spec)
FileUtils.chmod "+x", source
end
end
end
end