8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# File 'lib/botstrap.rb', line 8
def self.strapon
if directory_contains_xcode_project(".")
File.open(".gitattributes", "a") do |file|
file.write("*.pbxproj binary merge=union")
end
File.open(".gitignore", "a") do |file|
file.write("# OS X Finder
.DS_Store
# Xcode per-user config
*.mode1
*.mode1v3
*.mode2v3
*.perspective
*.perspectivev3
*.pbxuser
*.xcworkspace
xcuserdata
# Build products
build/
*.o
*.LinkFileList
*.hmap
# Automatic backup files
*~.nib/
*.swp
*~
*.dat
*.dep")
end
end
end
|