Peter B
Peter B

Reputation: 26358

Building applications with multiple Rake files

Is it at all possible to build multiple applications using multiple Rakefiles?

Any pointers to someone actually using Rake to build more than one application would be appreciated.

I have tried using import, but the variables in the separate Rakefiles seems to overwrite each other?

import 'application1/Rakefile'
import 'application2/Rakefile'

task :build => ['application1:build', 'application2:build']

Upvotes: 2

Views: 934

Answers (1)

Martin Vidner
Martin Vidner

Reputation: 2337

In WebYaST, the main Rakefile runs tasks from all subprojects, but in a separate rake process, via system.

Upvotes: 2

Related Questions