Sha256: 34a68400e92dc9da3f8c9452dfdf04253ca01278488281b437f3cd34f35ab2a8

Contents?: true

Size: 785 Bytes

Versions: 1

Compression:

Stored size: 785 Bytes

Contents

#!/usr/bin/env bash

mkdir -p ./lib/vagrant-betterhosts/bundle
cd ./lib/vagrant-betterhosts/bundle
# Download
curl -s https://api.github.com/repos/goodhosts/cli/releases/latest | jq --raw-output '.assets[] | .browser_download_url' | xargs wget -i
# Extract
tar -zxvf goodhosts-1.1.0-darwin-amd64.tar.gz goodhosts && mv goodhosts cli_amd64_osx
tar -zxvf goodhosts-1.1.0-darwin-arm64.tar.gz goodhosts && mv goodhosts cli_arm64_osx
tar -zxvf goodhosts-1.1.0-linux-amd64.tar.gz goodhosts && mv goodhosts cli_amd64_linux
tar -zxvf goodhosts-1.1.0-linux-arm64.tar.gz goodhosts && mv goodhosts cli_arm64_linux
tar -zxvf goodhosts-1.1.0-windows-amd64.tar.gz goodhosts.exe && mv goodhosts.exe cli.exe
rm -f ./*.tar.gz
rm -f ./*.txt
# Generate
cd ../../../
gem build vagrant-betterhosts.gemspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-betterhosts-1.1.6 package.sh