Skip to content
This repository has been archived by the owner on Oct 4, 2018. It is now read-only.

Commit

Permalink
use simple rake task to install shared libs
Browse files Browse the repository at this point in the history
  • Loading branch information
ashchan committed Mar 4, 2012
1 parent f32a3dc commit 2a0bf18
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -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
Expand Down
18 changes: 18 additions & 0 deletions Rakefile
@@ -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.