anonimitoraf / exercism.el

Emacs integration for https://exercism.org
GNU General Public License v3.0
32 stars 3 forks source link

`exercism-submit` doesn't work when current work directory isn't problem's root dir #4

Closed eval-exec closed 2 months ago

eval-exec commented 1 year ago

For example, there is a exercism problem whose file tree is:

├── HELP.md
├── README.md
├── src
    └── hello_world.clj

I open src/hello_world.clj in a buffer, and M-x exercism-submit will report [exercism] submit: Error: no files to submit, I have to execute exercism-submit in the problem's root directory to submit successfully.

anonimitoraf commented 1 year ago

Ah interesting. I'll see what I can do

anonimitoraf commented 1 year ago

Hey @eval-exec, mind trying the latest version?

For context, I've made the submit function explicitly specify the solution files (specified within the exercise's config.json)

eval-exec commented 1 year ago

Hey @eval-exec, mind trying the latest version?

For context, I've made the submit function explicitly specify the solution files (specified within the exercise's `config.json)

Thank you, I will test it later.