Sha256: 03a8763d34d972ea43240213fdba43efd7b8d5b66d90773e9c662b494e42ffb2
Contents?: true
Size: 866 Bytes
Versions: 1
Compression:
Stored size: 866 Bytes
Contents
#!/usr/bin/env ruby require 'clamp' require 'mayday' Clamp do self.default_subcommand = "up" MAYDAY_FILE_PATH = "Maydayfile" subcommand "up", "Integrate the warnings and errors from Maydayfile into your Xcode project" do def execute puts "Integrating mayday into your project..." Mayday::UserDefinitions.new(MAYDAY_FILE_PATH).up puts "Done!" end end subcommand "down", "Remove the warnings and errors from Maydayfile into your Xcode project" do def execute puts "Removing mayday from your project..." Mayday::UserDefinitions.new(MAYDAY_FILE_PATH).down puts "Done!" end end subcommand "benchmark", "Output benchmark results of running your Maydayfile errors and warnings on your Xcode project" do def execute Mayday::UserDefinitions.new(MAYDAY_FILE_PATH).benchmark end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mayday-0.0.1 | bin/mayday |