Sha256: 822e71c6d7e15dff133ec1568255742d6efda8613c0c363b4ccd2fad21101e02
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
Contents
#!/usr/bin/env ruby require 'ise' require 'highline' require 'smart_colored/extend' include ISE prompt = HighLine.new #TODO: Parse command-line flags with trollop. #Read in the project specified on the command line, begin project = Project.load(ARGV.first) unless ARGV.empty? project ||= ProjectNavigator::most_recent_project rescue puts puts "Oops!".bold.red + " I couldn't open the file specified. Check your file-name and try again.".red puts exit end puts puts "You're about to move the working directory for" puts project.filename.bold.yellow puts " to RAM.".yellow puts puts "This will dramatically speed up synthesis and save disk space," puts "but you'll need to re-run 'Generate Programming Files' after each reboot." puts exit unless prompt.agree('Do you want to continue? [y/n]'.bold + " ") #Minimize the project's runtime, and save it. project.minimize_runtime! project.save puts puts "Success!".green.bold + " Generated files (including bitfiles) will be created in: #{project.working_directory.underline}/.".green puts "If Project Navigator asks you if you'd like to reload the project file, select " + "yes".bold + "." puts
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-ise-1.0.0 | bin/xoptimize |
ruby-ise-0.6.1 | bin/xoptimize |