Skip to content

Commit

Permalink
JariBakken: Add at_exit hook to run .git-fixfiles
Browse files Browse the repository at this point in the history
r13806
  • Loading branch information
jarib committed Sep 9, 2011
1 parent 1376ab0 commit 4b03dd0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .git-fixfiles
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#!/bin/sh
git update-index --assume-unchanged cpp/prebuilt/**/*.so
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -624,3 +624,9 @@ desc 'Build and package Selenium IDE'
task :release_ide => [:ide] do
cp 'build/ide/selenium-ide.xpi', "build/ide/selenium-ide-#{ide_version}.xpi"
end

at_exit do
if File.exist?(".git") && !Platform.windows?
sh "sh .git-fixfiles"
end
end

0 comments on commit 4b03dd0

Please sign in to comment.