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

add dirt/samples directory to path #19

Open
guaka opened this issue Aug 24, 2014 · 2 comments
Open

add dirt/samples directory to path #19

guaka opened this issue Aug 24, 2014 · 2 comments

Comments

@guaka
Copy link

guaka commented Aug 24, 2014

I got some errors about dirt not being able to find samples/bd and samples/sn.
Now I'm starting it like this:

pushd ~/dirt; ./dirt&
popd

It would be nice if dirt could find its own samples directory regardless from where it was started.

@yaxu
Copy link
Member

yaxu commented Aug 26, 2014

Or maybe the samples folder should be specifiable on the commandline?

@guaka
Copy link
Author

guaka commented Aug 26, 2014

-s|--samples-path is nice but both would be best. Actually I see three possibilities:

  1. use samples-path if it's set
  2. check cwd (and subdirs) for existence of usable samples, use this if yes
  3. find location of dirt and use that as fallback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants