Project

zazu

0.0
No commit activity in last 3 years
No release in over 3 years
A configurable build component that can download a tool from a URL if necessary, then run it.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Gem Version

zazu

Fetch tools and run them

Example:

zazu = Zazu.new 'my-script'
zazu.fetch url: 'https://example.com/my_script.sh'
zazu.run ['--environment', 'prod']

To fetch os-dependent tools:

zazu = Zazu.new 'my-script'
zazu.fetch do |os, arch|
  # os will be :linux, :mac, :windows
  # arch will be 32 or 64
  "https://example.com/my_script-#{os}_#{arch}-bit"
end