Commit e40e6997 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #1479 from uberhacker/update-yarn-package

Update yarn from 1.0.0-20170808.1058 to 1.3.2-20171127.1833
parents 8f02f014 94e87a7c
......@@ -3,29 +3,21 @@ require 'package'
class Yarn < Package
description 'Yarn is a new package manager for JavaScript and an alternative to npm.'
homepage 'https://yarnpkg.com/en/'
version '1.0.0-20170808.1058'
source_url 'https://nightly.yarnpkg.com/yarn-v1.0.0-20170808.1058.tar.gz'
source_sha256 '7056c5ee12aa8d014d59b377be2e494ce49a6059e2678d8f79f1fc9904eb008b'
version '1.3.2-20171127.1833'
source_url 'https://nightly.yarnpkg.com/yarn-v1.3.2-20171127.1833.tar.gz'
source_sha256 '36293f1327693a8742a9030aa8b8213eb7c33b298b7eb28d2d9b2efe93279060'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/yarn-1.0.0-20170808.1058-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/yarn-1.0.0-20170808.1058-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/yarn-1.0.0-20170808.1058-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/yarn-1.0.0-20170808.1058-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '4efa9e90e6d9da2d5a625a3efc535df5cb8241e27fb0c87f00225e1515cd4d1c',
armv7l: '4efa9e90e6d9da2d5a625a3efc535df5cb8241e27fb0c87f00225e1515cd4d1c',
i686: 'b90ff3133e1b1005f9566ee2b8d266df0607c7ab18da19c23ee1c9e3a7d821be',
x86_64: '4ac8f1c457827fa1e3c9df0ecb4c79ebd84617329cd7e8981437aabf5a553385',
})
node_version=`node -v 2> /dev/null`
depends_on 'node' unless "#{node_version}" != ""
depends_on 'nodebrew' unless "#{node_version}" != ""
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local"
system "cp -r lib/ #{CREW_DEST_DIR}/usr/local"
system "cp -r bin/ #{CREW_DEST_DIR}/usr/local"
system "mkdir -p #{CREW_DEST_PREFIX}"
system "cp -r lib/ #{CREW_DEST_PREFIX}"
system "cp -r bin/ #{CREW_DEST_PREFIX}"
end
end
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