To see how to use this uploader, please visit our documentation.
!!! The project requires npm v7. You can check which version you have via
npm --version. If you need to update it, runnpm install --global npm(you should only need to do this once).
- The project requires Node.js v16
- If
nvmis installed, yournodeversion should change to the development version the repository is set to automatically;nvmis by no means necessary, however
- Run
npm installonce you get in the repository and after every branch change, etc.
npm run testto run the testsnpm run buildto verify the source code can be built
npm run build-linuxto generate the final binary for use on Linuxnpm run build-macosto generate the final binary for use on macOSnpm run build-windowsto generate the final binary for use on Windows
Additionally, you can run the uploader without actually doing a full build via:
npm run buildwhich generates the final JavaScriptnode dist/bin/codecov.js
make cleanmake installmake build
Note: make build does not currently build the Windows binary until I confirm that a Windows binary build under Linux works. It also does not build the Alpine binary, as that needs to be build in an alpine container, using a static build of NodeJS. To build the Windows binary, run npm run build-windows
Binaries for Windows, MacOS, and Linux will be in the out/ directory.