You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Currently the batch scripts are not cross-platform. It is extremely easy to make them cross platform with a library called shellJS.
This will also fix: #45
For example, here is the build script using shellJS:
varpath=require('path');varshell=require('shelljs');console.log('Building...');shell.rm('-rf',path.join(path.resolve('.')+'docs'))shell.exec('hugo')shell.exec('sw-precache --root=docs && git add -A',function(error,stdout,stderr){if(error!==null){console.error(error);return;}console.log('Site built at /docs.');});
The text was updated successfully, but these errors were encountered:
Hello,
Currently the batch scripts are not cross-platform. It is extremely easy to make them cross platform with a library called shellJS.
This will also fix:
#45
For example, here is the build script using shellJS:
The text was updated successfully, but these errors were encountered: