Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add rake bootstrap command + update README #20

Merged
merged 1 commit into from

4 participants

@Kapin

Not sure if we wanted to add this so PR'd it. Adds a bootstrap rake task to easily setup the environment.

@alloy
Owner

I’ll leave it up to @floere/@orta to pull, but I’m always :+1: on adding a rake bootstrap task.

@floere floere merged commit c3d1329 into master
@floere
Owner

:heart:

@floere floere deleted the add-boostrap branch
@kylef
Owner

@Kapin nice, you beat me to this! It's been on my todo since Friday. It's nice to strike things off my todo list without doing any work!

@floere
Owner

@alloy Not 100% sure, but if you use a slash between @ names, the first one doesn't get notified.

@alloy
Owner

@floere Nice bug! :)

@floere
Owner

@alloy Strange as I assume slashes aren't allowed in usernames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 8, 2013
  1. @Kapin
This page is out of date. Refresh to see the latest.
Showing with 12 additions and 4 deletions.
  1. +3 −4 README.md
  2. +9 −0 Rakefile
View
7 README.md
@@ -17,7 +17,6 @@ Steps to setup:
1. `$ git clone https://github.com/CocoaPods/beta.cocoapods.org.git`
2. `$ cd beta.cocoapods.org`
-3. `$ git submodule update --init --recursive`
-4. `$ bundle install`
-5. `$ middleman server`
-6. Open [localhost:4567](http://localhost:4567) in your browser. Changes will be processed automatically
+3. `$ rake bootstrap`
+4. `$ middleman server`
+5. Open [localhost:4567](http://localhost:4567) in your browser. Changes will be processed automatically
View
9 Rakefile
@@ -1,3 +1,12 @@
+desc "Initializes your working copy to have the correct submodules and gems"
+task :bootstrap do
+ puts "Updating submodules..."
+ `git submodule update --init --recursive`
+
+ puts "Installing gems"
+ `bundle install`
+end
+
require 'middleman-gh-pages'
require 'JSON'
require 'yaml'
Something went wrong with that request. Please try again.