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
70
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
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
840
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
140
フロントエンドUIフレームワークのこれまでとこれから
ssssota
5
2.6k
Go のフラットな パッケージに 「ファイル単位の private」を 〜Linter “declscope” を作った話〜
mpyw
0
260
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
620
A2UI for Android: Safely Rendering AI-Generated UI with Jetpack Compose - DroidKaigi 2026
itsmedreamwalker
0
120
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
110
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
6.8k
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
790
Security issues being discussed on Web Platforms
petamoriken
0
890
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
450
アクセシビリティから考える情報設計
high_g_engineer
0
370
Featured
See All Featured
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
330
Practical Orchestrator
shlominoach
191
12k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
690
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
500
The Curious Case for Waylosing
cassininazir
1
510
Large-scale JavaScript Application Architecture
addyosmani
515
110k
WENDY [Excerpt]
tessaabrams
13
39k
The agentic SEO stack - context over prompts
schlessera
0
940
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Being A Developer After 40
akosma
91
590k
RailsConf 2023
tenderlove
30
1.5k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
660
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