rebuild 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5410d781478837a98b54310685b14cb690a18c95
4
- data.tar.gz: ca460848ccb648b1d27da0b73409368b6fa6c704
3
+ metadata.gz: 84abea741d92e3392e807ef47f3896a572e12ab8
4
+ data.tar.gz: 92f73edba6660d2165b108457626f81f95bdd57e
5
5
  SHA512:
6
- metadata.gz: fc406f79256ca47b1f05497174f20c15522a9db4751c95391178fa87c80c767c9c6cf07babb5b3a2ff81ba18f44c3cabb5b56cba3232ab878f15c86c65cc1067
7
- data.tar.gz: 18e0f5434d9a707695bf2a710c9f7e8b4244df5cc721ea3b9d4b055349cd081ac4811280ffaa2089e8a5094500ee94d08fa09a2712dc83a0bdbaed12be8194a2
6
+ metadata.gz: bbf08461a2d1d33937b06877d89fdfb160514702108f8c607f2af3c9114cfe271d37b576f196253a78748e813cefd337dce95aad94a0f72fec27f5245344fea1
7
+ data.tar.gz: c73fcb1246aa336a7cb2aa07ce36f0a8629346e46e88a36b2fc9095eb439e2f99bf034c2d3d0cd71e09e9cc17501adebcad01454534d2d97c2dab7255930164e
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Rebuild
2
2
 
3
- ![](http://pic.k0kubun.com/EccWEeglRnobUo4.gif)
3
+ Development environment bootstrap automation toolkit for OSX.
4
4
 
5
- Development environment bootstrap automator for OSX
5
+ ![](http://pic.k0kubun.com/EccWEeglRnobUo4.gif)
6
6
 
7
7
  ## What's this?
8
8
 
@@ -11,14 +11,32 @@ Thus this gem provides a way to fetch GitHub repository archive and execute scri
11
11
 
12
12
  ## Usage
13
13
 
14
+ ### Full automated command line tools installation
15
+
16
+ ```bash
17
+ $ sudo gem install rebuild
18
+ $ rebuild
19
+ ```
20
+
21
+ You can install command line tools to clean-installed Yosemite only by typing `rebuild`.
22
+
23
+ ### Environment Bootstrap
24
+
14
25
  ```bash
15
26
  $ sudo gem install rebuild
16
27
  $ rebuild k0kubun/dotfiles
17
28
  ```
18
29
 
19
- The archive of [repository](https://github.com/k0kubun/dotfiles) is unzipped to `/tmp/k0kubun/dotfiles`.
30
+ After installing command line tools, the archive of [repository](https://github.com/k0kubun/dotfiles) is unzipped to `/tmp/k0kubun/dotfiles`.
20
31
  Then executes all of `/tmp/k0kubun/dotfiles/*.sh`.
21
32
 
33
+ ## Supported OS
34
+
35
+ - 10.10 Yosemite
36
+ - 10.9 Maverics
37
+
38
+ Prior to 10.8 Mountain Lion, features except command line tools installation are still supported.
39
+
22
40
  ## TODO
23
41
 
24
42
  - revision lock
@@ -16,7 +16,7 @@ module Rebuild
16
16
  `xcode-select --install`
17
17
  execute_scpt('start_install')
18
18
  sleep 5 until installed?
19
- execute_scpt('click_finish')
19
+ execute_scpt('click_done')
20
20
  end
21
21
 
22
22
  private
@@ -1,3 +1,3 @@
1
1
  module Rebuild
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
@@ -1,9 +1,8 @@
1
1
  #!/usr/bin/env osascript
2
2
 
3
- -- Third: Click Finish Button
4
- set timeoutSeconds to 2.0
5
- set uiScript to "click UI Element 1 of window 1 of application process \"Install Command Line Developer Tools\""
6
- my doWithTimeout(uiScript, timeoutSeconds)
3
+ -- Click Done Button
4
+ set timeoutSeconds to 8.0
5
+ my doWithTimeout("click UI Element \"Done\" of window 1 of application process \"Install Command Line Developer Tools\"", timeoutSeconds)
7
6
 
8
7
  on doWithTimeout(uiScript, timeoutSeconds)
9
8
  set endDate to (current date) + timeoutSeconds
@@ -15,7 +14,7 @@ end tell"
15
14
  exit repeat
16
15
  on error errorMessage
17
16
  if ((current date) > endDate) then
18
- error "Can not " & uiScript
17
+ error errorMessage & "; Can not " & uiScript
19
18
  end if
20
19
  end try
21
20
  end repeat
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rebuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
@@ -59,7 +59,7 @@ files:
59
59
  - lib/rebuild/runner.rb
60
60
  - lib/rebuild/version.rb
61
61
  - rebuild.gemspec
62
- - script/click_finish.scpt
62
+ - script/click_done.scpt
63
63
  - script/start_install.scpt
64
64
  homepage: https://github.com/k0kubun/rebuild
65
65
  licenses: