Commit 1554db5d authored by Dan Trevino's avatar Dan Trevino

fix depends location

parent 6a542285
require 'package' require 'package'
depends_on 'unzip'
class Dart < Package class Dart < Package
description 'The Dart SDK is a set of tools and libraries for the Dart programming language. You can find information about Dart online at dartlang.org.' description 'The Dart SDK is a set of tools and libraries for the Dart programming language. You can find information about Dart online at dartlang.org.'
...@@ -27,6 +26,9 @@ class Dart < Package ...@@ -27,6 +26,9 @@ class Dart < Package
# else # else
# abort 'Unable to install dart sdk. Architecture not supported.'.lightred # abort 'Unable to install dart sdk. Architecture not supported.'.lightred
end end
depends_on 'unzip'
def self.install def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local" system "mkdir -p #{CREW_DEST_DIR}/usr/local"
system "cp -r bin/ #{CREW_DEST_DIR}/usr/local" system "cp -r bin/ #{CREW_DEST_DIR}/usr/local"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment