This link has been bookmarked by 105 people . It was first bookmarked on 27 Jul 2006, by someone privately.
-
16 Jul 16
-
dependency models, synthesized tasks, custom build routines and debugging the build script.
-
idempotent - that is calling it multiple times is no different to calling it once.
-
Essentially the actual order of the tasks run is figured out at run time by the execution engine, not decided at design time by the programmer who writes the build script.
-
This dependency based computational model fits a build process really well, which is why all three use it.
-
It's natural to think of a build in terms of tasks and dependencies, most steps in a build are idempotent, and we really don't want unnecessary work to slow down the build.
-
rake is an internal DSL using Ruby.
-
Rake defines two kinds of task. Regular tasks are similar to tasks in ant, and file tasks are similar to tasks in make.
-
a rake script (or rakefile
-
In reality
taskisn't a keyword, it's a routine call. It takes two arguments.
-
-
26 Aug 14
Harold NealHang on - in the preceding paragraph I said "different computational models". Isn't that rather a grand phrase for a build language? Well no it isn't. All the build languages I've used (make, ant (Nant), and rake) use a dependency based style of c...
-
22 Jun 10
-
30 Dec 09
-
31 Oct 09
-
29 Aug 09
-
28 Apr 09
-
20 Apr 09
-
07 Nov 08
-
05 Aug 08
-
06 Apr 08
-
28 Mar 08
Brent SordylMartin Fowler’s excellent article on using the Rake build Language
-
05 Mar 08
-
30 Nov 07
-
19 Oct 07
-
26 Aug 07
-
13 Aug 07
-
28 Jul 07
Michael TilstraNice overview of the kinda of things you can do with Rake
-
26 Jul 07
-
25 Jul 07
-
24 Jul 07
-
18 Jul 07
-
18 Jun 07
-
04 Jun 07
-
31 May 07
-
24 May 07
-
25 Apr 07
-
28 Mar 07
Kenneth PriisholmIn this article I introduce rake and describe some interesting things that came out of my use of rake to build this web site: dependency models, synthesized tasks, custom build routines and debugging the build script.
-
01 Mar 07
-
08 Jan 07
-
04 Jan 07
-
02 Jan 07
-
20 Dec 06
-
18 Dec 06
-
07 Nov 06
-
31 Oct 06
-
20 Oct 06
-
27 Sep 06
-
26 Sep 06
-
18 Sep 06
-
11 Sep 06
-
09 Sep 06
-
05 Sep 06
-
The html file is the output of this task and the xml file is the input.
-
An important part of the file task is that it's not run unless you need to run it. The build system looks at the files and only runs the task if the output file does not exist or it's modification date is earlier than the input file.
-
style file and output file and only runs the transform if the output file doesn't exist or is younger than any of the input files.
-
unless uptodate?(target, src)
-
-
01 Sep 06
-
31 Aug 06
-
25 Jul 06
-
24 Jul 06
-
10 Jun 06
-
23 May 06
-
22 May 06
-
23 Mar 06
-
20 Mar 06
-
01 Mar 06
-
23 Feb 06
-
06 Jan 06
-
30 Nov 05
-
18 Sep 05
-
18 Aug 05
-
13 Aug 05
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.