Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Get NPM scripts to work cross-platform #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brcrista
Copy link

These scripts were broken on macOS / Linux:
In Windows CMD shells, single & means "run A then B", like a semicolon.
In Bash shells, single & means "run A in the background."

In both shells, double && means "run A then run B if A was successful." I believe this is what we want. Tested in PowerShell as well.

A possibly better fix would be to move the npm install step to the Gulpfile so it doesn't have to be repeated every time, but this is the quicker fix in line with the current design.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant