sh19910711 / git-contest

Git extension for the online judges
https://rubygems.org/gems/git-contest
MIT License
11 stars 5 forks source link

fix AOJ language resolver to support Python2/3 #35

Closed takuti closed 9 years ago

takuti commented 9 years ago

Even though the common language normalizer returns "python2" or "python3", the AOJ language resolver can handle only "python". So, submitting to AOJ in Python is impossible :disappointed:

I fixed this issue by modifying the AOJ language resolver. Now, we can submit Python code to AOJ as follows: git contest submit aoj -p 10000 -s p10000.py -l python2, or git contest submit aoj -p 10000 -s p10000.py -l python3 :santa:

sh19910711 commented 9 years ago

@takuti Good job. :sandal: I have merged it, and have released it as 0.2.4. Thanks for your contribution.