Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Commandline option (e.g. "-D", "--directory") to specify the project directory #134

Open
lefou opened this issue Feb 10, 2014 · 2 comments

Comments

@lefou
Copy link
Member

lefou commented Feb 10, 2014

By default, the project directory is the one, which contains the buildfile. This way, it is possibly to only reference an alternative buildfile (-f, -F) and trigger the build in the right directory.

Sometimes, it is desireable, to execute a buildfile from elsewhere in the current or another directory. GNU Make has an option ("-C", "--directory") for that use case.

Use case 1: A "central" build file in the users home directory which contains generic task (aka tools, see also #126) which might be useful in different places

Use case 2: A remote build file or a downloaded buildfile or a buildfile lying in a readonly location.

Ticket imported form Redmine http://sbuild.tototec.de/sbuild

Original Redmine issue link: Redmine ID 134
Reporter: Tobias Roeser => @lefou
Creating date: 2013-07-02T21:39:08+02:00

Assigned to:
Start date: 2013-07-02
Due date:

This issue relates issue #126.

This issue blocks issue #133.

@lefou
Copy link
Member Author

lefou commented Feb 10, 2014

  • tracker_id changed
    • Old Value: 1
    • New Value: 2

Comment imported from Redmine http://sbuild.tototec.de/sbuild/issues/134
Author: Tobias Roeser => @lefou
Creating date: 2013-10-09T17:55:42+02:00

@lefou
Copy link
Member Author

lefou commented Feb 15, 2014

The hidden .sbuild folder with the compiled buildfile and other resources sould be placed into the directory given with -D.

Also, if we later support other scheme's than file: in -f, than the current working directory could be automatically treated like -D.

@lefou lefou modified the milestone: SBuild 0.8.0 May 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant