Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Fixed library build failures on Windows machines #445

Merged
merged 3 commits into from
Aug 2, 2018

Conversation

Blackbaud-SteveBrush
Copy link
Member

@Blackbaud-SteveBrush Blackbaud-SteveBrush commented Jul 27, 2018

skyux build-public-library is not working on Windows machines due to an incorrect usage of cross-spawn.

Also, I'm passing up the status code to fail the build if an error is encountered.

@codecov-io
Copy link

codecov-io commented Jul 27, 2018

Codecov Report

Merging #445 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #445      +/-   ##
==========================================
+ Coverage   99.32%   99.32%   +<.01%     
==========================================
  Files          73       73              
  Lines        1919     1922       +3     
  Branches      303      304       +1     
==========================================
+ Hits         1906     1909       +3     
  Misses         13       13
Flag Coverage Δ
#builder 100% <100%> (ø) ⬆️
#runtime 95.6% <ø> (ø) ⬆️
#srcapp 100% <ø> (ø) ⬆️
Impacted Files Coverage Δ
cli/build-public-library.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 928c8fc...4275e1b. Read the comment docs.

if (result.err) {
reject(result.err);
return;
}

// Catch non-zero status codes.
if (result.status !== 0) {
reject(new Error(`Child process exited with status code ${result.status}.`));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’d say let’s mention that it’s ngc that failed instead of child process.

@Blackbaud-SteveBrush
Copy link
Member Author

@Blackbaud-BobbyEarl Ready for another look.

@Blackbaud-BobbyEarl Blackbaud-BobbyEarl merged commit ca9ca6e into master Aug 2, 2018
@Blackbaud-BobbyEarl Blackbaud-BobbyEarl deleted the fix-library-windows branch August 2, 2018 13:32
Blackbaud-MikitaYankouski pushed a commit to Blackbaud-MikitaYankouski/skyux-builder that referenced this pull request May 3, 2019
* Fixed libraries unable to build on Windows

* Added unit test

* Modified error message
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.

3 participants