mirror of
https://github.com/coreybutler/nvm-windows.git
synced 2026-01-22 03:00:46 +08:00
Support 32-bit build. Closes #12.
This commit is contained in:
@@ -10,9 +10,9 @@ echo Building NVM for Windows
|
||||
SET DIST=%CD%\dist\%version%
|
||||
SET GOPATH=%CD%\src
|
||||
SET GOBIN=%CD%\bin
|
||||
SET GOARCH=386
|
||||
go build -o %GOBIN%\nvm.exe %GOPATH%\nvm.go
|
||||
|
||||
|
||||
REM Create the "noinstall" zip
|
||||
echo Generating nvm-noinstall.zip
|
||||
for /d %%a in (%GOBIN%) do (buildtools\zip -j -9 -r "%DIST%\nvm-noinstall.zip" "%CD%\LICENSE" "%%a\*" -x "%GOBIN%\nodejs.ico")
|
||||
|
||||
Reference in New Issue
Block a user