dawnbeen / c_formatter_42

C language formatter for 42 norminette
GNU General Public License v3.0
176 stars 18 forks source link

Does this module not support running under Windows? #30

Closed znsoooo closed 2 years ago

znsoooo commented 2 years ago

raise NotImplementedError: Your platform is not supported

cacharle commented 2 years ago

It does not support windows yet

If you want to add support for it, it would be welcome

You just need to add a clang-format executable compatible with Windows.

You need to add the path to it here: https://github.com/dawnbeen/c_formatter_42/blob/6899df4b5abd110c472e2f22558fc11be1304375/c_formatter_42/formatters/clang_format.py#L51

And you need to add the executable itself here: https://github.com/dawnbeen/c_formatter_42/tree/master/c_formatter_42/data

Feel free to ask more questions if thats not clear.

znsoooo commented 2 years ago

@cacharle Thanks for your advice.

cacharle commented 2 years ago

Fixed by @younesaassila in #32