xclisten 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ede9019aa6a994936841ce4d4ab7e11146f7de8
4
- data.tar.gz: 2860261b1af428d7949a50c5d435fed3e0a8731d
3
+ metadata.gz: 5f69f3b387090495b0ceee3e114cd64bf0808d76
4
+ data.tar.gz: b30d9a0c2a2092f0b445b5f5f7f7c1efa2fbb1fb
5
5
  SHA512:
6
- metadata.gz: 276a55406746ec5937fb4ff4715fc3ec99b84f072df24a8b5868d3ee47ade20c0bf3670ebf208a6dea91c6be2aa71e259772e559bb9487c3d83b65f607b564d2
7
- data.tar.gz: d47a48d20e6fe9a3052621df12c4284bd18a5852a5614c7f99c0eee375a02889764e3fbceab2771a1b6039a11637db1932be316c37055158e3329a1dbc1f276f
6
+ metadata.gz: b24a0b6b21c8b355eb910c36bd41f4769f4de17eeb6c5d24725e6c7d87fb1eb2e013cb411ce2c41080b050a46d449592275f74150184ad45678c993a3aafb47d
7
+ data.tar.gz: 6f8f88c59d2d4c508289f041c765d0f2279099bdbf98efa797cb55c513058b51edbd61f2bdafd5a81ce5d1e927522ca29a2e3a7cc2d09c1e7846224836701b58
data/README.md CHANGED
@@ -1,19 +1,21 @@
1
1
  # XCListen
2
2
 
3
- A zero-configuration filesystem watcher for ObjectiveC.
4
- It will:
3
+ A zero-configuration filesystem watcher for ObjectiveC. It determines your workspace and scheme automatically, and:
5
4
 
6
- - run tests each time you save a file
7
- - install pods each time you save Podfile
8
- - format your tests with RSpec-style output using [XCPretty](https://github.com/mneorr/xcpretty)
5
+ - runs tests each time you save a file
6
+ - runs `pod install` each time you save the Podfile
7
+ - formats your tests with RSpec-style output using [XCPretty](https://github.com/mneorr/xcpretty)
9
8
 
10
9
 
11
10
  ## Installation
12
11
 
13
- $ gem install xclisten
12
+ ```
13
+ $ gem install xclisten
14
+ ```
14
15
 
15
16
  ## Usage
16
17
 
18
+ Run this command from the same directory as your `.xcworkspace`:
17
19
  ```
18
20
  $ xclisten
19
21
  ```
@@ -21,7 +23,15 @@ Simple, huh?
21
23
 
22
24
  ![](http://i.imgur.com/JpsMMBW.gif)
23
25
 
26
+ If you have an OSX project, you'll want to run it with `--osx` flag.
27
+
28
+
29
+ ## Something went wrong!
30
+
31
+ No worries, just `tail -f xcodebuild_error.log` and let us know what's happening.
32
+
24
33
  ## TODO
25
34
 
26
35
  - Device flag (choose between iphone5s, iPad, iPad Air,...)
27
-
36
+ - Support non-cocoapods projects, when there's no .xcworkspace
37
+ - Acceptance tests
data/bin/xclisten CHANGED
@@ -21,6 +21,8 @@ OptionParser.new do |opts|
21
21
  opts.parse!
22
22
  end
23
23
 
24
- fork { XCListen.listen }
25
- Process.wait
24
+ pid = fork { XCListen.listen }
25
+ trap("SIGINT") { Process.kill(9, pid) }
26
+
27
+ Process.waitpid(pid)
26
28
 
@@ -1,3 +1,3 @@
1
1
  module XCListen
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xclisten
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marin Usalj