joerdav / xc

Markdown defined task runner.
https://xcfile.dev/
MIT License
1.14k stars 27 forks source link

Support for multiple shells(os specific) #41

Closed LVladymyr closed 1 year ago

LVladymyr commented 1 year ago

Right now it is not possible to use runner in different OS, but it would be so nice to have this options. It could be implemented throw OS/shell specific comment or any other way.

joerdav commented 1 year ago

@LVladymyr Thanks for the feedback. xc is shipped with a bash interpreter, so should work across operating systems, even if you don't have a shell environment.

Though, this means that certain shell coreutils won't work, like cp.

There is an issue on the interpeter that xc depends on which would resolve this: https://github.com/mvdan/sh/issues/93

LVladymyr commented 1 year ago

Thank you @joerdav the idea behind your tool is briliant ! It would be nice to have some description in main page or some where in documentation that xc solve this problem too.