-
Notifications
You must be signed in to change notification settings - Fork 55
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
Windows support? #10
Comments
FWIW, I tried removing all paths to |
Thanks for checking this! So it sounds like |
Oh i misread this clearly. Sounds like mask does not work on windows. |
@jakedeichert I suppose if we add PowerShell as a scripting runtime, this could be solved. |
Adding PowerShell support will probably be useful to people 👍 But mask should also work with WSL and bash/sh scripting. I have a feeling it's also not handling Windows paths correctly... |
We're adding mask to our project Tauri, and the powershell support works out of the box it seems. If I add a block to the maskfile.md in the mask repo, that just looks like this:
it runs without an issue. I've already worked out some stuff for windows support and will create a PR. |
@tensor-programming wow, really? That must mean that powershell supports a -c arg? I googled this and can't find anything about Does WSL/bash on windows work too? I maybe can close this issue if both work :) |
The WSL does work out of the box without any changes. With the PR I made for powershell, I did have to do a little tweaking with the parser to have it ignore powershell and Batch blocks on Linux/WSL. On windows, it ignores shell blocks automatically for some reason which is a nice side effect. |
Submitted my PR. If you want, I can add a github action to test and build mask on Windows. |
I had to revert the windows PR that was merged. Reopening until I fix the issue with mask on macOS |
Ahh, something I couldn't test. Ill have to get one of my devs to take a look from a mac perspective. |
@tensor-programming no worries at all! I usually test PRs locally but forgot to in this case :) I'll work on the macOS issue this weekend hopefully 🤞 |
Released as v0.8.0! https://github.com/jakedeichert/mask/releases/tag/v0.8.0 |
Currently, this is unknown. I'm pretty sure the executor logic will need to be adjusted for Windows.
The text was updated successfully, but these errors were encountered: