Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 459 Bytes
require 'rake'
require 'FileUtils'
PLUGIN_DIR = File.join( ENV['PROGRAMFILES'], 'JetBrains', 'ReSharper', 'v5.1', 'Bin', 'Plugins','AgentBdd')
BIN_DIR = File.join('.','AgentBdd','bin','debug','.')
task :default => [ :compile ]
task :ensure_directory do
mkdir PLUGIN_DIR unless File.exist? PLUGIN_DIR
end
task :compile do
sh 'msbuild'
end
task :deploy => [ :compile, :ensure_directory ] do
cp_r BIN_DIR, PLUGIN_DIR, :remove_destination => true
end