Sha256: c15866666a01450bd46069621081443949e47958ced956f49054e74c84fd9a49
Contents?: true
Size: 436 Bytes
Versions: 6
Compression:
Stored size: 436 Bytes
Contents
#!/usr/bin/env ruby arg = ARGV[0] bin = File.dirname(__FILE__) puts "This will make sure all of your prepush hooks will use '#{arg}' to build your solutions. \nDo you want to continue? [y|else for no]" input = STDIN.gets.chomp if input.empty? || input.downcase == 'y' File.open("#{bin}/../lib/msbuild.rb", "w") {|file| file.puts "MSBuild = '#{arg}'"} puts 'success- modification has taken place.' else puts 'aborted.' end
Version data entries
6 entries across 6 versions & 1 rubygems