zeon-studio / hugoplate

Hugoplate is a free starter template built with Hugo and TailwindCSS that will save you hours of work.
https://zeon.studio/preview?project=hugoplate
MIT License
798 stars 218 forks source link

Make the chained command operator in package.json cross-platform #133

Closed preston-bernstein closed 3 months ago

preston-bernstein commented 3 months ago

Change the ; operator to the && operator.

On Unix-like systems, ; is used to separate commands, but on Windows, you might need to use && instead.

The && operator works on Unix-like systems (Linux, macOS) as well as on Windows. The && operator is used to chain commands, where the second command runs only if the first command succeeds. This is a common practice in shell scripting and is supported across different shell environments, making it a reliable way to chain commands in package.json scripts for cross-platform compatibility.

netlify[bot] commented 3 months ago

Deploy Preview for hugoplate ready!

Name Link
Latest commit 1835eea18374542e9672586a1e72b073fd04a966
Latest deploy log https://app.netlify.com/sites/hugoplate/deploys/665610c574e01700080620e6
Deploy Preview https://deploy-preview-133--hugoplate.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.