Commit 82abcdef authored by Ed Reel's avatar Ed Reel

Add node depends_on line. Duh!

parent 002f4216
......@@ -7,6 +7,8 @@ class Yarn < Package
source_url 'https://nightly.yarnpkg.com/yarn-v0.27.0-20170629.1443.tar.gz'
source_sha256 'e1086d267151cd05896b15023e8c4e253a64e675a80bb38dc294b5b1c86c6656'
depends_on 'node' unless File.exists? '/usr/local/bin/node'
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local"
system "cp -r lib/ #{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