Sha256: 1217509eaa13017335f4bd7c74247c350426d9dc04563b3a2100d6a2733c453e
Contents?: true
Size: 720 Bytes
Versions: 15
Compression:
Stored size: 720 Bytes
Contents
class Tasks::Toolbelt::Build::Windows < Tasks::Toolbelt around_ensure :cleanup def call input_file = File.join( tarball_path, 'win_setup.tar.gz') # download file from s3 File.open(input_file, "wb") do |saved_file| open('http://s3.amazonaws.com/quandl-command/win_setup/win_setup.tar.gz','rb') {|read_file| saved_file.write(read_file.read) } end # unpack win_setup Tar.unpack( File.join( tarball_path, "win_setup.tar.gz" ), tarball_path ) #build win exe sh "cd \"#{File.join(root_path, 'scripts','win')}\" && \"#{inno_path}\\iscc\" /cc \"quandl_toolbelt.iss\"" end protected def cleanup rm_rf File.join( root_path, '.bundle') end end
Version data entries
15 entries across 15 versions & 1 rubygems