Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make all examples build on windows #843

Merged
merged 6 commits into from
Feb 7, 2017
Merged

Conversation

OracPrime
Copy link
Contributor

Make all examples build on windows by using cross-env before all explicitly path-referenced node commands

…, but it doesn't stop scripts running.

Added .cmd extents to allow examples.js to run on windows.
Made the hello world example actually use a non-standard locale so that you can see that something is happening.
Added missing semi-colon (sorry - my local build and tests didn't complain!)
Clarified formatting in examples.js
…cripts allows the scripts in all the examples to run

Now no known problems on windows.
@ericf ericf merged commit fde2dac into formatjs:master Feb 7, 2017
@tamlyn
Copy link

tamlyn commented Feb 14, 2017

Now the example are failing with sh: cross-env: command not found. Should this have been added as a dependency?

@OracPrime
Copy link
Contributor Author

Looking at package.json, I can see cross-env (^3.1.3) is listed as a devDependency. Are you sure you did an npm install before attempting to rebuild?

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

Successfully merging this pull request may close these issues.

None yet

3 participants