janet-lang / jpm

Janet Project Manager
MIT License
65 stars 21 forks source link

Make :source refer to existing directory #73

Closed sogaiu closed 1 year ago

sogaiu commented 1 year ago

This PR attempts to address a remark made in a discussion at the janet repository:

Note: In the project.janet file in declare-executable you have to refer to the init.janet file with the folder name example/init.janet, whereas in declare-source you need to refer to src/init.janet.

I guess there is more than one way to address this including:

This PR took the latter path.