mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Since REVISION is always generated when running Rake, always get rid of it when we're done.
This commit is contained in:
parent
210429f06e
commit
e8142f3f7b
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -53,7 +53,7 @@ end
|
|||
Rake::Task[:package].prerequisites.insert(0, :revision_file)
|
||||
|
||||
# We also need to get rid of this file after packaging.
|
||||
Rake::Task[:package].enhance { File.delete('REVISION') if File.exists?('REVISION') }
|
||||
at_exit { File.delete('REVISION') rescue nil }
|
||||
|
||||
task :install => [:package] do
|
||||
sudo = RUBY_PLATFORM =~ /win32/ ? '' : 'sudo'
|
||||
|
|
Loading…
Reference in a new issue