Some time ago I opened #32, because the scripts and actions didn't work on Windows.
This PR updates the scripts to be cross-platform... which really only requires one change.
Part of the process is making the 'slice' directory read-only, and the script did this with chmod.
This command doesn't exist on Windows.
So, like any good javascript developer, I added a dependency which allows our build scripts to run OS-dependent paths.
For *nix platforms, the code is the same, but now for Windows, we use the 'equivalent' command: attrib.
Some time ago I opened #32, because the scripts and actions didn't work on Windows. This PR updates the scripts to be cross-platform... which really only requires one change.
Part of the process is making the 'slice' directory read-only, and the script did this with
chmod
. This command doesn't exist on Windows.So, like any good javascript developer, I added a dependency which allows our build scripts to run OS-dependent paths. For *nix platforms, the code is the same, but now for Windows, we use the 'equivalent' command:
attrib
.