Skip to content

Commit e002d0f

Browse files
committedMay 16, 2011
Fixed the build scripts
1 parent 353cbbb commit e002d0f

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed
 

‎README.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#NBDN - Munich - April 2011
1+
#Develop With Passion - Denver 2011
22

33
Prep work for the course!!

‎fetch_latest

+9-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,15 @@ def choose_remote(remotes)
3131
end
3232

3333
def update_to_latest_branch_on(remote_name)
34-
`git add -A;git commit -m "Updated"`
35-
`gitrb checkout master`
36-
`gitrb pull #{remote_name} #{get_latest_remote_branch_name(remote_name)} true`
34+
`git add -A`
35+
`git commit -m "Updated"`
36+
`git checkout master`
37+
latest_branch = get_latest_remote_branch_name(remote_name)
38+
39+
new_branch = "pull_#{remote_name}_#{latest_branch}"
40+
`git checkout -b #{new_branch}`
41+
`git checkout #{new_branch}`
42+
`git pull #{remote_name} #{latest_branch}`
3743
end
3844

3945
remote_name = choose_remote(get_all_available_non_origin_remotes)

‎push

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env ruby
2-
3-
`git add -A;git commit -m "Updated"`
4-
`gitrb push origin master`
1+
git add -A
2+
git commit -m "Updated"
3+
gitrb push origin master

‎remotes.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
%w[lmjerome kskrocki jpacelli zempd romanpy JerryGoodman JohnL4 jdyer100 MrChopstik aashishmodi divihari jdhague stanleygu judyk davidkrauss BruceInnes].each do|name|
2+
`git remote add #{name} git://github.com/#{name}/ascriptsp.git`
3+
end

‎trash

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gitrb reset

0 commit comments

Comments
 (0)
Please sign in to comment.