Rake

Rake

Rake est un logiciel libre. C'est un « moteur de production », semblable à SCons et make. Il est écrit en Ruby et les Rakefiles (équivalents des makefiles) sont écrits en Ruby. Il a été créé par Jim Weirich.

Rake utilise le concept de block de fonction anonymes de Ruby pour définir les tâches. Il y a une bibliothèque de tâches courantes, par exemple, pour nettoyer les fichier compilés (clean).

Rake est largement utilisé dans Ruby on rails. Il fait maintenant partie de la bibliothèque standard de Ruby 1.9.

Exemple

Voici un exemple simple de script Rake permettant de construire un programme HelloWorld en C

  file 'hello.o' => ['hello.c'] do
    sh 'cc -c -o hello.o hello.c'
  end
  file 'hello' => ['hello.o'] do
    sh 'cc -o hello hello.o'
  end

Liens externes


Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article Rake de Wikipédia en français (auteurs)

Игры ⚽ Поможем написать курсовую

Regardez d'autres dictionnaires:

  • Rake — Rake, v. t. [imp. & p. p. {Raked} (r[=a]kt); p. pr. & vb. n. {Raking}.] [AS. racian. See 1st {Rake}.] 1. To collect with a rake; as, to rake hay; often with up; as, he raked up the fallen leaves. [1913 Webster] 2. Hence: To collect or draw… …   The Collaborative International Dictionary of English

  • Rake — Тип Утилиты для разработки ПО Разработчик Jim Weirich Операционная система кроссплатформенное ПО Последняя версия 0.8.3 (25 сентября, 2008[1]) Лицензия MIT License …   Википедия

  • Rake — may refer to:* Rake (angle), various angles in bicycle and motorcycle geometry * Rake (cellular automaton), a cellular automaton pattern that moves while regularly emitting spaceships * Rake (character), a man habituated to immoral conduct. *… …   Wikipedia

  • rake — Ⅰ. rake [1] ► NOUN ▪ an implement consisting of a pole with a toothed crossbar or fine tines at the end, used for drawing together leaves, cut grass, etc. or smoothing loose soil or gravel. ► VERB 1) draw together with a rake. 2) make smooth with …   English terms dictionary

  • rake — rake1 [rāk] n. [ME < OE raca; akin to ON reka, spade, Ger rechen, a rake < IE base * reĝ , to direct, put in order > RIGHT] 1. any of various long handled tools with teeth or prongs at one end, used for gathering loose grass, hay, leaves …   English World dictionary

  • Rake — bezeichnet einen Ort in der Grafschaft Hampshire, England, siehe Rake (Hampshire) eine Gitarrenspieltechnik Rake (Musik) den Nachnamen von Christer Rake (* 1987), norwegischer Radrennfahrer den Nachnamen von Joachim Rake (1912−2000), deutscher… …   Deutsch Wikipedia

  • rake — rake; rake·hell·ish; rake·man; rake·steel; un·rake; muck·rake; rake·hell; rake·helly; rake·stele; …   English syllables

  • rake — [reɪk] verb FINANCE rake something → in phrasal verb [transitive] to obtain money, profits etc in large amounts: • Batman merchandise raked in an estimated $500 million in retail sales while it was hot. rake something → off phrasal verb… …   Financial and business terms

  • Rake — Rake, v. i. 1. [Icel. reika. Cf. {Rake} a debauchee.] To walk about; to gad or ramble idly. [Prov. Eng.] [1913 Webster] 2. [See {Rake} a debauchee.] To act the rake; to lead a dissolute, debauched life. Shenstone. [1913 Webster] {To rake out}… …   The Collaborative International Dictionary of English

  • Rake — (r[=a]k), n. [AS. race; akin to OD. rake, D. reek, OHG. rehho, G. rechen, Icel. reka a shovel, and to Goth. rikan to heap up, collect, and perhaps to Gr. ore gein to stretch out, and E. rack to stretch. Cf. {Reckon}.] 1. An implement consisting… …   The Collaborative International Dictionary of English

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”