Permalink
Browse files

use simple rake task to install shared libs

  • Loading branch information...
1 parent f32a3dc commit 2a0bf18bae3f0e2909c2e9442c465f76d52172a5 @ashchan committed Mar 4, 2012
Showing with 19 additions and 2 deletions.
  1. +1 −2 README.md
  2. +18 −0 Rakefile
View
@@ -4,8 +4,7 @@ booting...
## How to build
-* install [cundle](https://github.com/ashchan/cundle)
-* under the project root directory, run `cundle install` to install 3rd-party dependencies
+* under the project root directory, run `rake` to install 3rd-party dependencies
* use Xcode 4.3 or above to build the project
## Requirements
View
@@ -0,0 +1,18 @@
+require 'fileutils'
+
+task :default => [:install]
+
+desc "install 3rd-party libs"
+task :install do
+ shared_lib = "SharedLib"
+ FileUtils.mkdir_p(shared_lib)
+
+ FileUtils.cd("#{shared_lib}");
+
+ [
+ ["https://github.com/kgn/DBPrefsWindowController.git", "master"],
+ ["https://github.com/RestKit/RestKit.git", "development"],
+ ].each do |lib|
+ `git clone #{lib[0]} -b #{lib[1]} --recursive`
+ end
+end

0 comments on commit 2a0bf18

Please sign in to comment.