guard 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +17 -0
- data/README.md +50 -30
- data/bin/fsevent_watch_guard_guard +0 -0
- data/lib/guard.rb +44 -26
- data/lib/guard/cli.rb +23 -6
- data/lib/guard/dsl.rb +33 -15
- data/lib/guard/listener.rb +1 -1
- data/lib/guard/listeners/darwin.rb +1 -1
- data/lib/guard/notifier.rb +3 -1
- data/lib/guard/notifiers/notifysend.rb +81 -0
- data/lib/guard/version.rb +1 -1
- data/lib/guard/version.rbc +180 -0
- data/lib/vendor/darwin/README.rdoc +3 -2
- data/lib/vendor/darwin/bin/fsevent_watch +0 -0
- data/lib/vendor/darwin/ext/fsevent_watch/Info.plist +38 -0
- data/lib/vendor/darwin/ext/fsevent_watch/LICENSE +21 -0
- data/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch.xcodeproj/project.pbxproj +254 -0
- data/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/TSICTString.c +394 -0
- data/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/TSICTString.h +74 -0
- data/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/cli.c +160 -0
- data/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/cli.h +45 -0
- data/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/common.h +34 -0
- data/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.c +20 -0
- data/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/compat.h +40 -0
- data/lib/vendor/darwin/ext/fsevent_watch/fsevent_watch/main.c +509 -0
- data/lib/vendor/darwin/ext/fsevent_watch/xcconfig/Common.xcconfig +82 -0
- data/lib/vendor/darwin/ext/fsevent_watch/xcconfig/Debug.xcconfig +19 -0
- data/lib/vendor/darwin/ext/fsevent_watch/xcconfig/Release.xcconfig +23 -0
- data/lib/vendor/darwin/ext/fsevent_watch/xcconfig/fsevent_watch.xcconfig +17 -0
- data/lib/vendor/darwin/ext/rakefile.rb +47 -0
- data/lib/vendor/darwin/ext/rb-fsevent.xcconfig +33 -0
- data/lib/vendor/darwin/lib/rb-fsevent/version.rb +1 -1
- data/lib/vendor/darwin/rb-fsevent.gemspec +3 -2
- data/lib/vendor/darwin/spec/spec_helper.rb +1 -2
- metadata +40 -25
- data/lib/vendor/darwin/ext/extconf.rb +0 -64
- data/lib/vendor/darwin/ext/fsevent/fsevent_watch.c +0 -226
@@ -0,0 +1,81 @@
|
|
1
|
+
require 'rbconfig'
|
2
|
+
|
3
|
+
module Guard
|
4
|
+
module Notifier
|
5
|
+
|
6
|
+
# System notifications using notify-send, a binary that ships with
|
7
|
+
# the libnotify-bin package on many Debian-based distributions.
|
8
|
+
#
|
9
|
+
# @example Add the `:notifysend` notifier to your `Guardfile`
|
10
|
+
# notification :notifysend
|
11
|
+
#
|
12
|
+
module NotifySend
|
13
|
+
extend self
|
14
|
+
|
15
|
+
# Default options for the notify-send program
|
16
|
+
DEFAULTS = {
|
17
|
+
:t => 3000 # Default timeout is 3000ms
|
18
|
+
}
|
19
|
+
|
20
|
+
# Full list of options supported by notify-send
|
21
|
+
SUPPORTED = [:u, :t, :i, :c, :h]
|
22
|
+
|
23
|
+
# Test if the notification program is available.
|
24
|
+
#
|
25
|
+
# @param [Boolean] silent true if no error messages should be shown
|
26
|
+
# @return [Boolean] the availability status
|
27
|
+
#
|
28
|
+
def available?(silent = false)
|
29
|
+
if (RbConfig::CONFIG['host_os'] =~ /linux|freebsd|openbsd|sunos|solaris/) and (not `which notify-send`.empty?)
|
30
|
+
true
|
31
|
+
else
|
32
|
+
::Guard::UI.error 'The :notifysend notifier runs only on Linux, FreeBSD, OpenBSD and Solaris with the libnotify-bin package installed.' unless silent
|
33
|
+
false
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
# Show a system notification.
|
38
|
+
#
|
39
|
+
# @param [String] type the notification type. Either 'success', 'pending', 'failed' or 'notify'
|
40
|
+
# @param [String] title the notification title
|
41
|
+
# @param [String] message the notification message body
|
42
|
+
# @param [String] image the path to the notification image
|
43
|
+
# @param [Hash] options additional notification library options
|
44
|
+
# @option options [String] c the notification category
|
45
|
+
# @option options [Number] t the number of milliseconds to display (1000, 3000)
|
46
|
+
#
|
47
|
+
def notify(type, title, message, image, options = { })
|
48
|
+
command = "notify-send '#{title}' '#{message}'"
|
49
|
+
system(to_command_string(command, SUPPORTED, DEFAULTS.merge(options).merge({
|
50
|
+
:u => notifysend_urgency(type),
|
51
|
+
:i => image
|
52
|
+
})))
|
53
|
+
end
|
54
|
+
|
55
|
+
private
|
56
|
+
|
57
|
+
# Convert Guards notification type to the best matching
|
58
|
+
# notify-send urgency.
|
59
|
+
#
|
60
|
+
# @param [String] type the Guard notification type
|
61
|
+
# @return [String] the notify-send urgency
|
62
|
+
#
|
63
|
+
def notifysend_urgency(type)
|
64
|
+
{'failed' => 'critical', 'pending' => 'normal'}.fetch(type, 'low')
|
65
|
+
end
|
66
|
+
|
67
|
+
# Build a shell command out of a command string and option hash.
|
68
|
+
#
|
69
|
+
# @param [String] command the command execute
|
70
|
+
# @param [Array] supported list of supported option flags
|
71
|
+
# @param [Hash] options additional command options
|
72
|
+
# @return [String] the command and its options converted to a shell command.
|
73
|
+
#
|
74
|
+
def to_command_string(command, supported, options = {})
|
75
|
+
options.reduce(command) do |cmd, (flag, value)|
|
76
|
+
supported.include?(flag) ? cmd + " -#{flag} '#{value}'" : cmd
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
data/lib/guard/version.rb
CHANGED
@@ -0,0 +1,180 @@
|
|
1
|
+
!RBIX
|
2
|
+
16846133056282117387
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
28
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
65
|
17
|
+
49
|
18
|
+
1
|
19
|
+
2
|
20
|
+
13
|
21
|
+
99
|
22
|
+
12
|
23
|
+
7
|
24
|
+
2
|
25
|
+
12
|
26
|
+
7
|
27
|
+
3
|
28
|
+
12
|
29
|
+
65
|
30
|
+
12
|
31
|
+
49
|
32
|
+
4
|
33
|
+
4
|
34
|
+
15
|
35
|
+
49
|
36
|
+
2
|
37
|
+
0
|
38
|
+
15
|
39
|
+
2
|
40
|
+
11
|
41
|
+
I
|
42
|
+
6
|
43
|
+
I
|
44
|
+
0
|
45
|
+
I
|
46
|
+
0
|
47
|
+
I
|
48
|
+
0
|
49
|
+
n
|
50
|
+
p
|
51
|
+
5
|
52
|
+
x
|
53
|
+
5
|
54
|
+
Guard
|
55
|
+
x
|
56
|
+
11
|
57
|
+
open_module
|
58
|
+
x
|
59
|
+
15
|
60
|
+
__module_init__
|
61
|
+
M
|
62
|
+
1
|
63
|
+
n
|
64
|
+
n
|
65
|
+
x
|
66
|
+
5
|
67
|
+
Guard
|
68
|
+
i
|
69
|
+
48
|
70
|
+
5
|
71
|
+
66
|
72
|
+
26
|
73
|
+
93
|
74
|
+
0
|
75
|
+
15
|
76
|
+
29
|
77
|
+
21
|
78
|
+
0
|
79
|
+
45
|
80
|
+
0
|
81
|
+
1
|
82
|
+
7
|
83
|
+
2
|
84
|
+
3
|
85
|
+
98
|
86
|
+
3
|
87
|
+
3
|
88
|
+
30
|
89
|
+
8
|
90
|
+
27
|
91
|
+
25
|
92
|
+
92
|
93
|
+
0
|
94
|
+
27
|
95
|
+
8
|
96
|
+
32
|
97
|
+
15
|
98
|
+
7
|
99
|
+
4
|
100
|
+
8
|
101
|
+
33
|
102
|
+
1
|
103
|
+
9
|
104
|
+
38
|
105
|
+
1
|
106
|
+
8
|
107
|
+
47
|
108
|
+
65
|
109
|
+
7
|
110
|
+
2
|
111
|
+
7
|
112
|
+
5
|
113
|
+
64
|
114
|
+
49
|
115
|
+
6
|
116
|
+
2
|
117
|
+
11
|
118
|
+
I
|
119
|
+
4
|
120
|
+
I
|
121
|
+
0
|
122
|
+
I
|
123
|
+
0
|
124
|
+
I
|
125
|
+
0
|
126
|
+
n
|
127
|
+
p
|
128
|
+
7
|
129
|
+
x
|
130
|
+
5
|
131
|
+
Guard
|
132
|
+
n
|
133
|
+
x
|
134
|
+
7
|
135
|
+
VERSION
|
136
|
+
x
|
137
|
+
22
|
138
|
+
vm_const_defined_under
|
139
|
+
s
|
140
|
+
8
|
141
|
+
constant
|
142
|
+
s
|
143
|
+
5
|
144
|
+
0.6.3
|
145
|
+
x
|
146
|
+
9
|
147
|
+
const_set
|
148
|
+
p
|
149
|
+
5
|
150
|
+
I
|
151
|
+
2
|
152
|
+
I
|
153
|
+
2
|
154
|
+
I
|
155
|
+
2f
|
156
|
+
I
|
157
|
+
0
|
158
|
+
I
|
159
|
+
30
|
160
|
+
x
|
161
|
+
66
|
162
|
+
/Users/remy/Development/Ruby/Gems/guard/guard/lib/guard/version.rb
|
163
|
+
p
|
164
|
+
0
|
165
|
+
x
|
166
|
+
13
|
167
|
+
attach_method
|
168
|
+
p
|
169
|
+
3
|
170
|
+
I
|
171
|
+
0
|
172
|
+
I
|
173
|
+
1
|
174
|
+
I
|
175
|
+
1c
|
176
|
+
x
|
177
|
+
66
|
178
|
+
/Users/remy/Development/Ruby/Gems/guard/guard/lib/guard/version.rb
|
179
|
+
p
|
180
|
+
0
|
@@ -4,8 +4,9 @@ Very simple & usable Mac OSX FSEvents API
|
|
4
4
|
|
5
5
|
- RubyCocoa not required!
|
6
6
|
- Signals are working (really)
|
7
|
-
- Tested on MRI 1.8.7 & 1.9.2
|
8
|
-
- Tested on
|
7
|
+
- Tested on MRI 1.8.7 & 1.9.2, JRuby 1.6.3
|
8
|
+
- Tested on 10.6 & 10.7 (though 10.5 should work just as well)
|
9
|
+
- Tested with XCode 3.2.6, 4.0.2, 4.1, 4.2b5
|
9
10
|
|
10
11
|
== Install
|
11
12
|
|
Binary file
|
@@ -0,0 +1,38 @@
|
|
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>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
Copyright (c) 2011 Travis Tilley
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
@@ -0,0 +1,254 @@
|
|
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
|
+
}
|