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 +4 -4
- data/README.md +21 -3
- data/lib/rebuild/command_line_tools.rb +1 -1
- data/lib/rebuild/version.rb +1 -1
- data/script/{click_finish.scpt → click_done.scpt} +4 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84abea741d92e3392e807ef47f3896a572e12ab8
|
4
|
+
data.tar.gz: 92f73edba6660d2165b108457626f81f95bdd57e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbf08461a2d1d33937b06877d89fdfb160514702108f8c607f2af3c9114cfe271d37b576f196253a78748e813cefd337dce95aad94a0f72fec27f5245344fea1
|
7
|
+
data.tar.gz: c73fcb1246aa336a7cb2aa07ce36f0a8629346e46e88a36b2fc9095eb439e2f99bf034c2d3d0cd71e09e9cc17501adebcad01454534d2d97c2dab7255930164e
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Rebuild
|
2
2
|
|
3
|
-
|
3
|
+
Development environment bootstrap automation toolkit for OSX.
|
4
4
|
|
5
|
-
|
5
|
+

|
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
|
-
|
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
|
data/lib/rebuild/version.rb
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
#!/usr/bin/env osascript
|
2
2
|
|
3
|
-
--
|
4
|
-
set timeoutSeconds to
|
5
|
-
|
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
|
+
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/
|
62
|
+
- script/click_done.scpt
|
63
63
|
- script/start_install.scpt
|
64
64
|
homepage: https://github.com/k0kubun/rebuild
|
65
65
|
licenses:
|