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

make it possible to run in sub-directories of repositories, not only root directries #128

Open
kmyk opened this issue Feb 7, 2020 · 1 comment

Comments

@kmyk
Copy link
Member

kmyk commented Feb 7, 2020

たとえば git コマンドは .git のあるディレクトリのサブディレクトリからでも実行できます。これと同様に、verify helper も .verify-helper のあるディレクトリのサブディレクトリからでも実行できてほしい

再帰的にディレクトリを遡っていって .verify-helper が見付かればそこを base directory とし、なければ current directory を使う、という実装がよさそう

@kmyk kmyk added the good first issue Good for newcomers label Feb 7, 2020
@kmyk kmyk changed the title root 以外でも動くように make it possible to run in sub-directories of repositories, not only root directries Mar 7, 2020
@kmyk
Copy link
Member Author

kmyk commented Apr 6, 2020

この挙動のせいで混乱した人の報告:

examples/awkoj-verify runを実行すると

 INFO:onlinejudge_verify.config:no config file
 INFO:onlinejudge_verify.verify:all tests succeeded

と出ます。

config fileは.verify-helper/config.tomlに置くと書いてありますが、これは
~/.verify-helper/config.tomlですか?

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