helm/rake/pkg/mjolnir.rake
2015-01-20 03:10:38 -05:00

14 lines
387 B
Ruby

task :mjolnir => 'mjolnir:update'
namespace :mjolnir do
task :install do
Package.install "lua", "luarocks"
sh "mkdir -p ~/.luarocks"
sh "echo 'rocks_servers = { \"http://rocks.moonscript.org\" }' > ~/.luarocks/config.lua"
sh "luarocks install mjolnir.hotkey"
sh "luarocks install mjolnir.application"
sh "luarocks install mjolnir._asm.modal_hotkey"
end
end