Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rake
Search
Jason Meridth
May 12, 2009
Programming
72
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rake
Jason Meridth
May 12, 2009
More Decks by Jason Meridth
See All by Jason Meridth
Testing in Ruby with Shoulda and Mocha
jmeridth
0
120
Selenium
jmeridth
0
71
Other Decks in Programming
See All in Programming
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
140
sbt 2.0: takeoff
eed3si9n
0
160
Domain-Driven Transformation
hschwentner
2
2.3k
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
Railsバージョンを4倍にした話
optim
0
350
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
450
Jetpack Compose Mechanisms
skydoves
3
820
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
Documentation Writing (for coders)
carmenintech
77
5.6k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
990
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Done Done
chrislema
187
17k
How STYLIGHT went responsive
nonsquared
100
6.3k
ラッコキーワード サービス紹介資料
rakko
1
5.3M
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
870
Transcript
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 Rake Jason Meridth AlamoCoders May 2009 Tuesday, May 12,
2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 Manual Builds • Compile + X-Copy • Zip file
Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 Why Automate? • Once done, rarely need to touch
it again • Immediate feedback • Can work on other stuff besides the build • Remove human interaction (decrease errors) • Reproducible Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 Current Solutions • NAnt • MSBuild Tuesday, May 12,
2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 Old School: NAnt <?xml version="1.0" encoding="utf-8"?> <project name="HelloUser" default="complete"
xmlns="http://nant.sf.net/schemas/ nant.xsd"> <property name="build.dir" value="build" /> <property name="dist.dir" value="dist" /> <property name="build.number" value="0.0.0.1" /> <property name="product" value="HelloUser" /> <property name="copyright" value="Copyright 2008-2009 Jason Meridth. All rights reserved" /> <property name="clr.version" value="v3.5" /> <property name="msbuild" value="${environment::get-variable('WINDIR')}/ Microsoft.NET/Framework/${clr.version}/MSBuild.exe" /> <target name="complete" depends="prepare, compile, setup, unit_test, create_zip" description="Compile and Run Tests" /> <target name="prepare" description="Deletes all generated folders and files to start with clean folder structure"> <delete dir="${build.dir}" /> <delete dir="${dist.dir}" /> <mkdir dir="${build.dir}" if="${not directory::exists(build.dir)}"/> <mkdir dir="${dist.dir}" if="${not directory::exists(dist.dir)}"/> </target> <target name="compile" description="Compiles debug solution"> <exec program="${msbuild}"> <arg value="HelloUser.sln" /> <arg value="/verbosity:minimal" /> <arg value="/p:Configuration=debug" /> <arg value="/p:WarningLevel=0" /> </exec> <copy todir="${build.dir}" overwrite="true"> <fileset basedir="HelloUser\bin\Debug"> <include name="HelloUser.exe" /> <include name="HelloUser.pdb" /> <include name="HelloUserLibrary.dll" /> <include name="HelloUserLibrary.pdb" /> </fileset> </copy> </target> <target name="setup" depends="compile"> </target> <target name="unit_test"> <exec program="nunit-console.exe" basedir="lib\nunit"> <arg value="HelloUserLibraryTests\bin\Debug \HelloUserLibraryTests.dll" /> </exec> </target> <target name="create_zip"> <zip zipfile="${dist.dir}\HelloUser-bin-${build.number}.zip"> <fileset basedir="${build.dir}"> <include name="**" /> </fileset> </zip> </target> </project> Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 What is Rake? “...a simple Ruby build program with
capabilities similar to make” ~ Jim Weirich (creator) Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 Install on Windows One Click Installer Cue VM... http://rubyforge.org/projects/rubyinstaller/
Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 Hello World # Rakefile (or rakefile or rakefile.rb or
Rakefile.rb) require 'rake' desc "Hello World!" task :hello_world do puts "Hello World!" end Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 jasonmeridth@laptop ~/code/presentations/rake $ rake -T (in /Users/jasonmeridth/code/presentations/rake) rake hello_world
# Hello World! rake -T (--tasks) Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 ~/code/presentations/rake $ rake hello_world (in /Users/jasonmeridth/code/presentations/rake) Hello World! run
rake Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 A good Rakefile Example JAGregregory’s Fluent-NHibernate Rakefile (http://github.com/jagregory/fluent-nhibernate) Tuesday,
May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 Gotchas It is the RubyZip gem, _NOT_ ZipRuby. (Go
ahead Joe, laugh) Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 I can haz knowledge • One click install •
Obeying Pragmatic Programmers - Learn a new language once a year • Easy to extend • Easy to read • Easy to learn Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 You can haz questions ??? Tuesday, May 12, 2009
http://www.slideshare.net/armmer/alamocoders-may-09-rake-1424692 Resources • http://rake.rubyforge.org • http://github.com/jimweirich/rake • http://martinfowler.com/articles/rake.html • http://derickbailey.lostechies.com/archive/
2009/05/08/how-a-net-developer-learned- ruby-and-rake-to-build-net-apps-in- windows.aspx • http://railsenvy.com/2007/6/11/ruby-on- rails-rake-tutorial • http://github.com/jagregory/fluent- nhibernate/tree/master Tuesday, May 12, 2009