Skip to content

Instantly share code, notes, and snippets.

@saikyun
Created February 19, 2022 11:48
Show Gist options
  • Save saikyun/ea8645f35072fa0e5fee216ba39aa576 to your computer and use it in GitHub Desktop.
Save saikyun/ea8645f35072fa0e5fee216ba39aa576 to your computer and use it in GitHub Desktop.
running jpm build from powershell
  1. install needed stuff
  2. in powershell:
notepad $PROFILE

Copy paste the below, change the path to match your own vcvars64.bat location:

function jpm-build {
  & cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" & jpm build'
}
  1. open a new powershell terminal, now you can call jpm-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment