8000 Adding a permission fix step to build · paramadeep/recursive-open-struct@298474e · GitHub
[go: up one dir, main page]

Skip to content

Commit 298474e

Browse files
committed
Adding a permission fix step to build
1 parent dd02b49 commit 298474e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Rakefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,11 @@ end
3535

3636
task :default => :spec
3737

38+
task :fix_permissions do
39+
File.umask 0022
40+
filelist = `git ls-files`.split("\n")
41+
FileUtils.chmod 0644, filelist, :verbose => true
42+
FileUtils.chmod 0755, ['lib','spec'], :verbose => true
43+
end
44+
45+
task :build => :fix_permissions

0 commit comments

Comments
 (0)
0