Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (14 sloc) 0.556 kb
#!/usr/bin/ruby -w
# Programmer: Chris Bunch
# Takes the appscale-tools directory and packages it up for release
require 'fileutils'
relative_path = File.dirname(__FILE__)
`rm -rf ~/Desktop/appscale-tools`
FileUtils.cp_r("#{relative_path}/../appscale-tools", File.expand_path("~/Desktop"))
`chmod +x ~/Desktop/appscale-tools/bin/*.rb`
`rm -rf ~/Desktop/appscale-tools/bin/*.yaml`
appscale_tools = `ls ~/Desktop/appscale-tools/bin/*.rb`.split
appscale_tools.each { |tool|
tool_no_extension = tool[0,tool.length-3]
`mv #{tool} #{tool_no_extension}`
}
Jump to Line
Something went wrong with that request. Please try again.