crucialfelix / atom-supercollider

SuperCollider development environment for Atom.io
MIT License
84 stars 12 forks source link

manage class paths - include . #5

Closed crucialfelix closed 10 years ago

crucialfelix commented 10 years ago

generate a sclang conf.yaml when booting the interpreter and pass this to sclang using -l

By default it would include the project root "."

So any classes you write are automatically included. No need to make a quark or worry about where you put the class file or on what OS you are and where is this extensions folder (and will I break something?) .

This makes it more enabling for users and makes it trivial to write classes that are only used for a specific project.

Also then quarks can be installed to your local working folder rather than always globally in Extensions/quarks

Additional class paths could be specified in your .supercolliderc

crucialfelix commented 10 years ago

The one issue to solve is that if you have symlinked SCClassLibrary or Extensions/quarks into your project then it needs to detect and eliminate any duplicate paths.

crucialfelix commented 10 years ago

this is a supercollider.js issue now: https://github.com/crucialfelix/supercolliderjs/issues/5