rb-fsevent 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,47 +1,191 @@
1
- # vim: fileencoding=UTF-8 nobomb sw=2 ts=2 et
2
-
3
- XCODEBUILD = '/usr/bin/xcodebuild'
4
- XCCONFIG = File.expand_path('rb-fsevent.xcconfig')
5
-
6
- namespace :xcode do
7
- $target = 'fsevent_watch'
8
- $configuration = ENV['FWDEBUG'] ? 'Debug' : 'Release'
9
-
10
- def xcb(action, extra='')
11
- command = [
12
- XCODEBUILD,
13
- "-target", $target,
14
- "-configuration", $configuration,
15
- action,
16
- "-xcconfig", XCCONFIG,
17
- extra
18
- ].join(' ')
19
-
20
- Dir.chdir 'fsevent_watch' do
21
- results = `#{command}`
22
- STDERR.puts results
23
- raise "xcodebuild failure" unless $?.success?
24
- end
25
- end
26
-
27
- desc 'run xcodebuild clean'
28
- task :clean do
29
- xcb 'clean'
1
+ require 'rubygems' unless defined?(Gem)
2
+ require 'pathname'
3
+ require 'date'
4
+ require 'time'
5
+
6
+
7
+ raise "unable to find xcodebuild" unless system('which', 'xcodebuild')
8
+
9
+ FSEVENT_WATCH_EXE_VERSION = '0.1.3'
10
+
11
+
12
+ $this_dir = Pathname.new(__FILE__).dirname.expand_path
13
+ $final_exe = $this_dir.parent.join('bin/fsevent_watch')
14
+
15
+ $src_dir = $this_dir.join('fsevent_watch')
16
+ $obj_dir = $this_dir.join('build')
17
+
18
+ SRC = Pathname.glob("#{$src_dir}/*.c")
19
+ OBJ = SRC.map {|s| $obj_dir.join("#{s.basename('.c')}.o")}
20
+
21
+
22
+ $now = DateTime.now.xmlschema rescue Time.now.xmlschema
23
+
24
+ $CC = ENV['CC'] || `which clang || which gcc`.strip
25
+ $CFLAGS = ENV['CFLAGS'] || '-fconstant-cfstrings -fstrict-aliasing -funroll-loops'
26
+ $ARCHFLAGS = ENV['ARCHFLAGS'] || '-arch x86_64 -arch i386'
27
+ $DEFINES = "-DNS_BUILD_32_LIKE_64 -DNS_BLOCK_ASSERTIONS -DOS_OBJECT_USE_OBJC=0 -DPROJECT_VERSION=#{FSEVENT_WATCH_EXE_VERSION}"
28
+
29
+ $GCC_C_LANGUAGE_STANDARD = 'gnu99'
30
+ $CODE_SIGN_IDENTITY = 'Developer ID Application'
31
+
32
+ $arch = `uname -m`.strip
33
+ $os_release = `uname -r`.strip
34
+ $BUILD_TRIPLE = "#{$arch}-apple-darwin#{$os_release}"
35
+
36
+
37
+
38
+ task :sw_vers do
39
+ $mac_product_version = `sw_vers -productVersion`.strip
40
+ $mac_build_version = `sw_vers -buildVersion`.strip
41
+ $MACOSX_DEPLOYMENT_TARGET = ENV['MACOSX_DEPLOYMENT_TARGET'] || $mac_product_version.sub(/\.\d*$/, '')
42
+ $CFLAGS = "#{$CFLAGS} -mmacosx-version-min=#{$MACOSX_DEPLOYMENT_TARGET}"
43
+ end
44
+
45
+ task :get_sdk_info => :sw_vers do
46
+ $SDK_INFO = {}
47
+ version_info = `xcodebuild -version -sdk macosx#{$MACOSX_DEPLOYMENT_TARGET}`
48
+ raise "invalid SDK" unless !!$?.exitstatus
49
+ version_info.strip.each_line do |line|
50
+ next if line.strip.empty?
51
+ next unless line.include?(':')
52
+ match = line.match(/([^:]*): (.*)/)
53
+ next unless match
54
+ $SDK_INFO[match[1]] = match[2]
30
55
  end
31
-
32
- desc 'run xcodebuild build'
33
- task :build => :clean do
34
- xcb 'build'
56
+ end
57
+
58
+ task :debug => :sw_vers do
59
+ $DEFINES = "-DDEBUG #{$DEFINES}"
60
+ $CFLAGS = "#{$CFLAGS} -O0 -fno-omit-frame-pointer -g"
61
+ end
62
+
63
+ task :release => :sw_vers do
64
+ $DEFINES = "-DNDEBUG #{$DEFINES}"
65
+ $CFLAGS = "#{$CFLAGS} -O3"
66
+ end
67
+
68
+ desc 'configure build type depending on whether ENV var FWDEBUG is set'
69
+ task :set_build_type => :sw_vers do
70
+ if ENV['FWDEBUG']
71
+ Rake::Task[:debug].invoke
72
+ else
73
+ Rake::Task[:release].invoke
35
74
  end
36
-
37
- desc 'run xcodebuild install'
38
- task :install => :build do
39
- xcb 'install', "DEPLOYMENT_LOCATION='YES'"
75
+ end
76
+
77
+ desc 'set build arch to ppc'
78
+ task :ppc do
79
+ $ARCHFLAGS = '-arch ppc'
80
+ end
81
+
82
+ desc 'set build arch to x86_64'
83
+ task :x86_64 do
84
+ $ARCHFLAGS = '-arch x86_64'
85
+ end
86
+
87
+ desc 'set build arch to i386'
88
+ task :x86 do
89
+ $ARCHFLAGS = '-arch i386'
90
+ end
91
+
92
+ task :setup_env => [:set_build_type, :sw_vers, :get_sdk_info]
93
+
94
+ directory $obj_dir.to_s
95
+ file $obj_dir.to_s => :setup_env
96
+
97
+ SRC.zip(OBJ).each do |source, object|
98
+ file object.to_s => [source.to_s, $obj_dir.to_s] do
99
+ cmd = [
100
+ $CC,
101
+ $ARCHFLAGS,
102
+ "-std=#{$GCC_C_LANGUAGE_STANDARD}",
103
+ $CFLAGS,
104
+ $DEFINES,
105
+ "-I#{$src_dir}",
106
+ '-isysroot',
107
+ $SDK_INFO['Path'],
108
+ '-c', source,
109
+ '-o', object
110
+ ]
111
+ sh(cmd.map {|s| s.to_s}.join(' '))
40
112
  end
41
-
42
- task :remove_turds do
43
- rm_rf File.join('fsevent_watch', 'build')
113
+ end
114
+
115
+ desc 'generate an Info.plist used for code signing as well as embedding build settings into the resulting binary'
116
+ file $obj_dir.join('Info.plist').to_s => [$obj_dir.to_s, :setup_env] do
117
+ File.open($obj_dir.join('Info.plist').to_s, 'w+') do |file|
118
+ file << '<?xml version="1.0" encoding="UTF-8"?>'
119
+ file << '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">'
120
+ file << '<plist version="1.0">'
121
+ file << '<dict>'
122
+
123
+ file << '<key>CFBundleExecutable</key>'
124
+ file << '<string>fsevent_watch</string>'
125
+ file << '<key>CFBundleIdentifier</key>'
126
+ file << '<string>com.teaspoonofinsanity.fsevent_watch</string>'
127
+ file << '<key>CFBundleName</key>'
128
+ file << '<string>fsevent_watch</string>'
129
+
130
+ file << '<key>CFBundleVersion</key>'
131
+ file << "<string>#{FSEVENT_WATCH_EXE_VERSION}</string>"
132
+ file << '<key>LSMinimumSystemVersion</key>'
133
+ file << "<string>#{$MACOSX_DEPLOYMENT_TARGET}</string>"
134
+ file << '<key>DTSDKBuild</key>'
135
+ file << "<string>#{$SDK_INFO['ProductBuildVersion']}</string>"
136
+ file << '<key>DTSDKName</key>'
137
+ file << "<string>macosx#{$SDK_INFO['SDKVersion']}</string>"
138
+ file << '<key>BuildMachineOSBuild</key>'
139
+ file << "<string>#{$mac_build_version}</string>"
140
+ file << '<key>BuildMachineOSVersion</key>'
141
+ file << "<string>#{$mac_product_version}</string>"
142
+ file << '<key>FSEWCompiledAt</key>'
143
+ file << "<string>#{$now}</string>"
144
+ file << '<key>FSEWVersionInfoBuilder</key>'
145
+ file << "<string>#{`whoami`.strip}</string>"
146
+ file << '<key>FSEWBuildTriple</key>'
147
+ file << "<string>#{$BUILD_TRIPLE}</string>"
148
+ file << '<key>FSEWCC</key>'
149
+ file << "<string>#{$CC}</string>"
150
+ file << '<key>FSEWCFLAGS</key>'
151
+ file << "<string>#{$CFLAGS}</string>"
152
+
153
+ file << '</dict>'
154
+ file << '</plist>'
44
155
  end
45
156
  end
46
157
 
47
- task :default => ['xcode:install', 'xcode:remove_turds']
158
+ file $obj_dir.join('fsevent_watch').to_s => [$obj_dir.to_s, $obj_dir.join('Info.plist').to_s] + OBJ.map(&:to_s) do
159
+ cmd = [
160
+ $CC,
161
+ $ARCHFLAGS,
162
+ "-std=#{$GCC_C_LANGUAGE_STANDARD}",
163
+ $CFLAGS,
164
+ $DEFINES,
165
+ "-I#{$src_dir}",
166
+ '-isysroot',
167
+ $SDK_INFO['Path'],
168
+ '-framework CoreFoundation -framework CoreServices',
169
+ '-sectcreate __TEXT __info_plist',
170
+ $obj_dir.join('Info.plist')
171
+ ] + OBJ + [
172
+ '-o', $obj_dir.join('fsevent_watch')
173
+ ]
174
+ sh(cmd.map {|s| s.to_s}.join(' '))
175
+ end
176
+
177
+ desc 'compile and link build/fsevent_watch'
178
+ task :build => $obj_dir.join('fsevent_watch').to_s
179
+
180
+ desc 'codesign build/fsevent_watch binary'
181
+ task :codesign => :build do
182
+ sh "codesign -s '#{$CODE_SIGN_IDENTITY}' #{$obj_dir.join('fsevent_watch')}"
183
+ end
184
+
185
+ desc 'replace bundled fsevent_watch binary with build/fsevent_watch'
186
+ task :replace_exe => :build do
187
+ sh "mv #{$obj_dir.join('fsevent_watch')} #{$final_exe}"
188
+ end
189
+
190
+ task :default => :replace_exe
191
+
@@ -43,7 +43,7 @@ class FSEvent
43
43
  callback.call(modified_dir_paths)
44
44
  end
45
45
  end
46
- rescue Interrupt, IOError
46
+ rescue Interrupt, IOError, Errno::EBADF
47
47
  ensure
48
48
  stop
49
49
  end
@@ -1,3 +1,3 @@
1
1
  class FSEvent
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb-fsevent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,56 +10,56 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-09-24 00:00:00.000000000 Z
13
+ date: 2012-12-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: bundler
16
+ prerelease: false
17
17
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
18
  requirements:
20
19
  - - ~>
21
20
  - !ruby/object:Gem::Version
22
21
  version: '1.0'
22
+ none: false
23
23
  type: :development
24
- prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
25
  requirements:
28
26
  - - ~>
29
27
  - !ruby/object:Gem::Version
30
28
  version: '1.0'
29
+ none: false
30
+ name: bundler
31
31
  - !ruby/object:Gem::Dependency
32
- name: rspec
32
+ prerelease: false
33
33
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
34
  requirements:
36
35
  - - ~>
37
36
  - !ruby/object:Gem::Version
38
37
  version: '2.11'
38
+ none: false
39
39
  type: :development
40
- prerelease: false
41
40
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
41
  requirements:
44
42
  - - ~>
45
43
  - !ruby/object:Gem::Version
46
44
  version: '2.11'
45
+ none: false
46
+ name: rspec
47
47
  - !ruby/object:Gem::Dependency
48
- name: guard-rspec
48
+ prerelease: false
49
49
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
50
  requirements:
52
51
  - - ~>
53
52
  - !ruby/object:Gem::Version
54
53
  version: '1.2'
54
+ none: false
55
55
  type: :development
56
- prerelease: false
57
56
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
57
  requirements:
60
58
  - - ~>
61
59
  - !ruby/object:Gem::Version
62
60
  version: '1.2'
61
+ none: false
62
+ name: guard-rspec
63
63
  description: FSEvents API with Signals catching (without RubyCocoa)
64
64
  email:
65
65
  - thibaud@thibaud.me
@@ -72,23 +72,17 @@ files:
72
72
  - lib/rb-fsevent/fsevent.rb
73
73
  - lib/rb-fsevent/version.rb
74
74
  - lib/rb-fsevent.rb
75
- - ext/fsevent_watch/fsevent_watch/cli.c
76
- - ext/fsevent_watch/fsevent_watch/cli.h
77
- - ext/fsevent_watch/fsevent_watch/common.h
78
- - ext/fsevent_watch/fsevent_watch/compat.c
79
- - ext/fsevent_watch/fsevent_watch/compat.h
80
- - ext/fsevent_watch/fsevent_watch/main.c
81
- - ext/fsevent_watch/fsevent_watch/TSICTString.c
82
- - ext/fsevent_watch/fsevent_watch/TSICTString.h
83
- - ext/fsevent_watch/fsevent_watch.xcodeproj/project.pbxproj
84
- - ext/fsevent_watch/Info.plist
85
- - ext/fsevent_watch/LICENSE
86
- - ext/fsevent_watch/xcconfig/Common.xcconfig
87
- - ext/fsevent_watch/xcconfig/Debug.xcconfig
88
- - ext/fsevent_watch/xcconfig/fsevent_watch.xcconfig
89
- - ext/fsevent_watch/xcconfig/Release.xcconfig
75
+ - ext/LICENSE
76
+ - ext/fsevent_watch/TSICTString.c
77
+ - ext/fsevent_watch/TSICTString.h
78
+ - ext/fsevent_watch/cli.c
79
+ - ext/fsevent_watch/cli.h
80
+ - ext/fsevent_watch/common.h
81
+ - ext/fsevent_watch/compat.c
82
+ - ext/fsevent_watch/compat.h
83
+ - ext/fsevent_watch/defines.h
84
+ - ext/fsevent_watch/main.c
90
85
  - ext/rakefile.rb
91
- - ext/rb-fsevent.xcconfig
92
86
  - LICENSE
93
87
  - README.rdoc
94
88
  homepage: http://rubygems.org/gems/rb-fsevent
@@ -98,21 +92,22 @@ rdoc_options: []
98
92
  require_paths:
99
93
  - lib
100
94
  required_ruby_version: !ruby/object:Gem::Requirement
101
- none: false
102
95
  requirements:
103
96
  - - ! '>='
104
97
  - !ruby/object:Gem::Version
105
98
  version: '0'
106
- required_rubygems_version: !ruby/object:Gem::Requirement
107
99
  none: false
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
108
101
  requirements:
109
102
  - - ! '>='
110
103
  - !ruby/object:Gem::Version
111
104
  version: '0'
105
+ none: false
112
106
  requirements: []
113
107
  rubyforge_project: rb-fsevent
114
- rubygems_version: 1.8.23
108
+ rubygems_version: 1.8.24
115
109
  signing_key:
116
110
  specification_version: 3
117
111
  summary: Very simple & usable FSEvents API
118
112
  test_files: []
113
+ has_rdoc:
@@ -1,38 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleIdentifier</key>
6
- <string>com.teaspoonofinsanity.fsevent_watch</string>
7
- <key>CFBundleExecutable</key>
8
- <string>fsevent_watch</string>
9
- <key>CFBundleName</key>
10
- <string>fsevent_watch</string>
11
- <key>LSMinimumSystemVersion</key>
12
- <string>MACOSX_DEPLOYMENT_TARGET</string>
13
- <key>CFBundleVersion</key>
14
- <string>CURRENT_PROJECT_VERSION</string>
15
- <key>FSEWOptimizationLevel</key>
16
- <string>OPTIMIZATION_LEVEL</string>
17
- <key>FSEWVersionInfoBuilder</key>
18
- <string>VERSION_INFO_BUILDER</string>
19
- <key>FSEWVersionInfoString</key>
20
- <string>VERSION_INFO_STRING</string>
21
- <key>BuildMachineOSBuild</key>
22
- <string>MAC_OS_X_PRODUCT_BUILD_VERSION</string>
23
- <key>BuildMachineOSVersion</key>
24
- <string>MAC_OS_X_VERSION_ACTUAL</string>
25
- <key>DTCompiler</key>
26
- <string>GCC_VERSION</string>
27
- <key>DTPlatformBuild</key>
28
- <string>PLATFORM_PRODUCT_BUILD_VERSION</string>
29
- <key>DTSDKBuild</key>
30
- <string>SDK_PRODUCT_BUILD_VERSION</string>
31
- <key>DTSDKName</key>
32
- <string>SDK_NAME</string>
33
- <key>DTXcode</key>
34
- <string>XCODE_VERSION_ACTUAL</string>
35
- <key>DTXcodeBuild</key>
36
- <string>XCODE_PRODUCT_BUILD_VERSION</string>
37
- </dict>
38
- </plist>
@@ -1,254 +0,0 @@
1
- // !$*UTF8*$!
2
- {
3
- archiveVersion = 1;
4
- classes = {
5
- };
6
- objectVersion = 46;
7
- objects = {
8
-
9
- /* Begin PBXBuildFile section */
10
- 6A20BF7F13FC9BC000C6C442 /* cli.c in Sources */ = {isa = PBXBuildFile; fileRef = 6A20BF7C13FC9BC000C6C442 /* cli.c */; };
11
- 6A57F70413F5E614000BE6A9 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A57F70313F5E614000BE6A9 /* CoreServices.framework */; };
12
- 6A57F70713F5E614000BE6A9 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 6A57F70613F5E614000BE6A9 /* main.c */; };
13
- 6A81FCE8143429DF00F83EDD /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A81FCE7143429DE00F83EDD /* CoreFoundation.framework */; };
14
- 6A81FCEC14342A6300F83EDD /* TSICTString.c in Sources */ = {isa = PBXBuildFile; fileRef = 6A81FCEA14342A6300F83EDD /* TSICTString.c */; };
15
- EDF2B90D143584E800C6EF62 /* compat.c in Sources */ = {isa = PBXBuildFile; fileRef = EDF2B90C143584E800C6EF62 /* compat.c */; };
16
- /* End PBXBuildFile section */
17
-
18
- /* Begin PBXBuildRule section */
19
- 6A0B980414AA652A00952375 /* PBXBuildRule */ = {
20
- isa = PBXBuildRule;
21
- compilerSpec = com.apple.compilers.proxy.script;
22
- filePatterns = "*.rl";
23
- fileType = pattern.proxy;
24
- isEditable = 1;
25
- name = "Ragel source to C source";
26
- outputFiles = (
27
- "$(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).c",
28
- );
29
- script = "/usr/bin/env ragel $(INPUT_FILE_BASE).rl -G2 -o $(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).c\n/usr/bin/env ragel $(INPUT_FILE_BASE).rl -V -o $(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).dot\n";
30
- };
31
- /* End PBXBuildRule section */
32
-
33
- /* Begin PBXFileReference section */
34
- 6A20BF7C13FC9BC000C6C442 /* cli.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cli.c; sourceTree = "<group>"; };
35
- 6A20BF7D13FC9BC000C6C442 /* cli.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cli.h; sourceTree = "<group>"; };
36
- 6A20BF7E13FC9BC000C6C442 /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = common.h; sourceTree = "<group>"; };
37
- 6A57F6FF13F5E614000BE6A9 /* fsevent_watch */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = fsevent_watch; sourceTree = BUILT_PRODUCTS_DIR; };
38
- 6A57F70313F5E614000BE6A9 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = System/Library/Frameworks/CoreServices.framework; sourceTree = SDKROOT; };
39
- 6A57F70613F5E614000BE6A9 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
40
- 6A68C5E31440CBDF0040623D /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = SOURCE_ROOT; };
41
- 6A81FCE7143429DE00F83EDD /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; };
42
- 6A81FCEA14342A6300F83EDD /* TSICTString.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = TSICTString.c; sourceTree = "<group>"; };
43
- 6A81FCEB14342A6300F83EDD /* TSICTString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TSICTString.h; sourceTree = "<group>"; };
44
- 6A8F495414AC05470094EE00 /* Common.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Common.xcconfig; sourceTree = "<group>"; };
45
- 6A8F495514AC05470094EE00 /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
46
- 6A8F495614AC05470094EE00 /* Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
47
- 6A8F495714AC05470094EE00 /* fsevent_watch.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = fsevent_watch.xcconfig; sourceTree = "<group>"; };
48
- 6AD3022F13F8D758007F24E8 /* compat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = compat.h; sourceTree = "<group>"; };
49
- EDF2B90C143584E800C6EF62 /* compat.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = compat.c; sourceTree = "<group>"; };
50
- /* End PBXFileReference section */
51
-
52
- /* Begin PBXFrameworksBuildPhase section */
53
- 6A57F6FC13F5E614000BE6A9 /* Frameworks */ = {
54
- isa = PBXFrameworksBuildPhase;
55
- buildActionMask = 2147483647;
56
- files = (
57
- 6A81FCE8143429DF00F83EDD /* CoreFoundation.framework in Frameworks */,
58
- 6A57F70413F5E614000BE6A9 /* CoreServices.framework in Frameworks */,
59
- );
60
- runOnlyForDeploymentPostprocessing = 0;
61
- };
62
- /* End PBXFrameworksBuildPhase section */
63
-
64
- /* Begin PBXGroup section */
65
- 6A57F6F413F5E614000BE6A9 = {
66
- isa = PBXGroup;
67
- children = (
68
- 6A8F495314AC05470094EE00 /* xcconfig */,
69
- 6A68C5E31440CBDF0040623D /* Info.plist */,
70
- 6A57F70513F5E614000BE6A9 /* fsevent_watch */,
71
- 6A57F70213F5E614000BE6A9 /* Frameworks */,
72
- 6A57F70013F5E614000BE6A9 /* Products */,
73
- );
74
- indentWidth = 2;
75
- sourceTree = "<group>";
76
- tabWidth = 2;
77
- };
78
- 6A57F70013F5E614000BE6A9 /* Products */ = {
79
- isa = PBXGroup;
80
- children = (
81
- 6A57F6FF13F5E614000BE6A9 /* fsevent_watch */,
82
- );
83
- name = Products;
84
- sourceTree = "<group>";
85
- };
86
- 6A57F70213F5E614000BE6A9 /* Frameworks */ = {
87
- isa = PBXGroup;
88
- children = (
89
- 6A81FCE7143429DE00F83EDD /* CoreFoundation.framework */,
90
- 6A57F70313F5E614000BE6A9 /* CoreServices.framework */,
91
- );
92
- name = Frameworks;
93
- sourceTree = "<group>";
94
- };
95
- 6A57F70513F5E614000BE6A9 /* fsevent_watch */ = {
96
- isa = PBXGroup;
97
- children = (
98
- 6A81FCEA14342A6300F83EDD /* TSICTString.c */,
99
- 6A81FCEB14342A6300F83EDD /* TSICTString.h */,
100
- 6A20BF7C13FC9BC000C6C442 /* cli.c */,
101
- 6A20BF7D13FC9BC000C6C442 /* cli.h */,
102
- 6A20BF7E13FC9BC000C6C442 /* common.h */,
103
- 6A57F70613F5E614000BE6A9 /* main.c */,
104
- 6AD3022F13F8D758007F24E8 /* compat.h */,
105
- EDF2B90C143584E800C6EF62 /* compat.c */,
106
- );
107
- path = fsevent_watch;
108
- sourceTree = "<group>";
109
- };
110
- 6A8F495314AC05470094EE00 /* xcconfig */ = {
111
- isa = PBXGroup;
112
- children = (
113
- 6A8F495414AC05470094EE00 /* Common.xcconfig */,
114
- 6A8F495514AC05470094EE00 /* Debug.xcconfig */,
115
- 6A8F495614AC05470094EE00 /* Release.xcconfig */,
116
- 6A8F495714AC05470094EE00 /* fsevent_watch.xcconfig */,
117
- );
118
- path = xcconfig;
119
- sourceTree = "<group>";
120
- };
121
- /* End PBXGroup section */
122
-
123
- /* Begin PBXNativeTarget section */
124
- 6A57F6FE13F5E614000BE6A9 /* fsevent_watch */ = {
125
- isa = PBXNativeTarget;
126
- buildConfigurationList = 6A57F70C13F5E614000BE6A9 /* Build configuration list for PBXNativeTarget "fsevent_watch" */;
127
- buildPhases = (
128
- 6A8F497D14AC134E0094EE00 /* plist */,
129
- 6A57F6FB13F5E614000BE6A9 /* Sources */,
130
- 6A57F6FC13F5E614000BE6A9 /* Frameworks */,
131
- );
132
- buildRules = (
133
- 6A0B980414AA652A00952375 /* PBXBuildRule */,
134
- );
135
- dependencies = (
136
- );
137
- name = fsevent_watch;
138
- productName = fsevent_watch;
139
- productReference = 6A57F6FF13F5E614000BE6A9 /* fsevent_watch */;
140
- productType = "com.apple.product-type.tool";
141
- };
142
- /* End PBXNativeTarget section */
143
-
144
- /* Begin PBXProject section */
145
- 6A57F6F613F5E614000BE6A9 /* Project object */ = {
146
- isa = PBXProject;
147
- attributes = {
148
- LastUpgradeCheck = 0420;
149
- ORGANIZATIONNAME = TeaspoonOfInsanity;
150
- };
151
- buildConfigurationList = 6A57F6F913F5E614000BE6A9 /* Build configuration list for PBXProject "fsevent_watch" */;
152
- compatibilityVersion = "Xcode 3.2";
153
- developmentRegion = English;
154
- hasScannedForEncodings = 0;
155
- knownRegions = (
156
- en,
157
- );
158
- mainGroup = 6A57F6F413F5E614000BE6A9;
159
- productRefGroup = 6A57F70013F5E614000BE6A9 /* Products */;
160
- projectDirPath = "";
161
- projectRoot = "";
162
- targets = (
163
- 6A57F6FE13F5E614000BE6A9 /* fsevent_watch */,
164
- );
165
- };
166
- /* End PBXProject section */
167
-
168
- /* Begin PBXShellScriptBuildPhase section */
169
- 6A8F497D14AC134E0094EE00 /* plist */ = {
170
- isa = PBXShellScriptBuildPhase;
171
- buildActionMask = 2147483647;
172
- files = (
173
- );
174
- inputPaths = (
175
- "$(SRCROOT)/Info.plist",
176
- );
177
- name = plist;
178
- outputPaths = (
179
- "$(DERIVED_FILE_DIR)/Info.plist",
180
- );
181
- runOnlyForDeploymentPostprocessing = 0;
182
- shellPath = /bin/bash;
183
- shellScript = "${CC:-cc} -E -P -x c -Wno-trigraphs -traditional -CC \\\n-DCURRENT_PROJECT_VERSION=\"${CURRENT_PROJECT_VERSION}\" \\\n-DGCC_VERSION=\"${GCC_VERSION}\" \\\n-DMACOSX_DEPLOYMENT_TARGET=\"${MACOSX_DEPLOYMENT_TARGET}\" \\\n-DMAC_OS_X_PRODUCT_BUILD_VERSION=\"${MAC_OS_X_PRODUCT_BUILD_VERSION}\" \\\n-DMAC_OS_X_VERSION_ACTUAL=\"${MAC_OS_X_VERSION_ACTUAL}\" \\\n-DOPTIMIZATION_LEVEL=\"${OPTIMIZATION_LEVEL}\" \\\n-DPLATFORM_PRODUCT_BUILD_VERSION=\"${PLATFORM_PRODUCT_BUILD_VERSION}\" \\\n-DSDK_NAME=\"${SDK_NAME}\" \\\n-DSDK_PRODUCT_BUILD_VERSION=\"${SDK_PRODUCT_BUILD_VERSION}\" \\\n-DVERSION_INFO_BUILDER=\"${VERSION_INFO_BUILDER}\" \\\n-DVERSION_INFO_STRING=\"${VERSION_INFO_STRING}\" \\\n-DXCODE_PRODUCT_BUILD_VERSION=\"${XCODE_PRODUCT_BUILD_VERSION}\" \\\n-DXCODE_VERSION_ACTUAL=\"${XCODE_VERSION_ACTUAL}\" \\\n\"${SRCROOT}/Info.plist\" \\\n-o \"${DERIVED_FILE_DIR}/Info.plist\"\n";
184
- };
185
- /* End PBXShellScriptBuildPhase section */
186
-
187
- /* Begin PBXSourcesBuildPhase section */
188
- 6A57F6FB13F5E614000BE6A9 /* Sources */ = {
189
- isa = PBXSourcesBuildPhase;
190
- buildActionMask = 2147483647;
191
- files = (
192
- 6A57F70713F5E614000BE6A9 /* main.c in Sources */,
193
- 6A20BF7F13FC9BC000C6C442 /* cli.c in Sources */,
194
- 6A81FCEC14342A6300F83EDD /* TSICTString.c in Sources */,
195
- EDF2B90D143584E800C6EF62 /* compat.c in Sources */,
196
- );
197
- runOnlyForDeploymentPostprocessing = 0;
198
- };
199
- /* End PBXSourcesBuildPhase section */
200
-
201
- /* Begin XCBuildConfiguration section */
202
- 6A57F70A13F5E614000BE6A9 /* Debug */ = {
203
- isa = XCBuildConfiguration;
204
- baseConfigurationReference = 6A8F495514AC05470094EE00 /* Debug.xcconfig */;
205
- buildSettings = {
206
- };
207
- name = Debug;
208
- };
209
- 6A57F70B13F5E614000BE6A9 /* Release */ = {
210
- isa = XCBuildConfiguration;
211
- baseConfigurationReference = 6A8F495614AC05470094EE00 /* Release.xcconfig */;
212
- buildSettings = {
213
- };
214
- name = Release;
215
- };
216
- 6A57F70D13F5E614000BE6A9 /* Debug */ = {
217
- isa = XCBuildConfiguration;
218
- baseConfigurationReference = 6A8F495714AC05470094EE00 /* fsevent_watch.xcconfig */;
219
- buildSettings = {
220
- };
221
- name = Debug;
222
- };
223
- 6A57F70E13F5E614000BE6A9 /* Release */ = {
224
- isa = XCBuildConfiguration;
225
- baseConfigurationReference = 6A8F495714AC05470094EE00 /* fsevent_watch.xcconfig */;
226
- buildSettings = {
227
- };
228
- name = Release;
229
- };
230
- /* End XCBuildConfiguration section */
231
-
232
- /* Begin XCConfigurationList section */
233
- 6A57F6F913F5E614000BE6A9 /* Build configuration list for PBXProject "fsevent_watch" */ = {
234
- isa = XCConfigurationList;
235
- buildConfigurations = (
236
- 6A57F70A13F5E614000BE6A9 /* Debug */,
237
- 6A57F70B13F5E614000BE6A9 /* Release */,
238
- );
239
- defaultConfigurationIsVisible = 0;
240
- defaultConfigurationName = Release;
241
- };
242
- 6A57F70C13F5E614000BE6A9 /* Build configuration list for PBXNativeTarget "fsevent_watch" */ = {
243
- isa = XCConfigurationList;
244
- buildConfigurations = (
245
- 6A57F70D13F5E614000BE6A9 /* Debug */,
246
- 6A57F70E13F5E614000BE6A9 /* Release */,
247
- );
248
- defaultConfigurationIsVisible = 0;
249
- defaultConfigurationName = Release;
250
- };
251
- /* End XCConfigurationList section */
252
- };
253
- rootObject = 6A57F6F613F5E614000BE6A9 /* Project object */;
254
- }