22 lines
390 B
Ruby
22 lines
390 B
Ruby
#
|
|
# Cookbook:: kosmos-bitcoin
|
|
# Recipe:: btcpay
|
|
#
|
|
|
|
build_essential
|
|
|
|
include_recipe "git"
|
|
|
|
git node['nbxplorer']['source_dir'] do
|
|
repository node['nbxplorer']['repo']
|
|
revision node['nbxplorer']['revision']
|
|
action :sync
|
|
notifies :run, 'bash[build_nbxplorer]', :immediately
|
|
end
|
|
|
|
bash 'build_nbxplorer' do
|
|
cwd node['nbxplorer']['source_dir']
|
|
code './build.sh'
|
|
action :nothing
|
|
end
|