Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3980128
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:15:13+00:00 2026-05-20T05:15:13+00:00

I have a project that consists of multiple projects, something like: my_project\ proj_A\ (code,

  • 0

I have a project that consists of multiple projects, something like:

my_project\
proj_A\
(code, tests, Rakefile, etc)
proj_B\
(code, tests, Rakefile, etc)
proj_C\
(code, tests, Rakefile, etc)

I’d like to create a Rakefile under “my_project” that can execute the Rakefile’s in the other projects. For example to package up the entire app I need to run tasks defined in the Rakefile’s in proj_A, proj_B and then proj_C (in that order).

What’s the best way to do this? Just have a Rakefile that defines tasks which call out to the other Rakefiles?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T05:15:14+00:00Added an answer on May 20, 2026 at 5:15 am

    Create a rake task that depends on all the other projects.

    import 'projdir1/Rakefile'
    import 'projdir2/Rakefile'
    
    task :finalproject => [:project1, :project2] do
      # do nothing or maybe some cleanup
    end
    

    The tasks :project1 and :project2 would be defined in the external rakefiles being included.

    Also look at this page for more complex examples.
    http://rake.rubyforge.org/files/doc/rakefile_rdoc.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project that I would like to start beta testing soon, it
We have a project that generates a code snippet that can be used on
I have a CUDA project. It consists of several .cpp files that contain my
I have a project that consists of a bunch of dynamically loaded modules. Originally,
I have a Maven project that consists of several modules. I have a single
I have some code that consists of a lot (several hundreds of LOC) of
I have a project in Codeigniter, managed via Git and Github, that consists of
I have a VB6 project that is using a SQL2008 database. The project consists
I have a project in SVN that I'm migrating to Git. The project consists
I have a website that consists of the following areas, Home About Us Project

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.