rdkcentral / Lightning

Lightning - The WPE UI Framework for developing Apps and UX
Apache License 2.0
188 stars 109 forks source link

Fix builds on non-*nix systems #517

Closed wouterlucas closed 8 months ago

wouterlucas commented 10 months ago

The npm scripts where relying on shell type of commands (rm/cp etc) and have been abstracted by the SHX package.

Additionally there are environment variables set that are not supported on powershell, cross-env solves that.

Lastly the src-to-dist.sh shell script doesn't work very well on power shell. So this has been replaced with a .cjs node script using ShellJS.