mirror of
https://github.com/coreybutler/nvm-windows.git
synced 2026-01-14 07:03:17 +08:00
Added windows build tools.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -32,3 +32,5 @@ bin/nvm/*
|
||||
|
||||
!.gitignore
|
||||
|
||||
dist
|
||||
out
|
||||
|
||||
3
build.bat
Normal file
3
build.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
docker run --rm --name switch-builder -e GOOS=windows -e GOARCH=386 -v "%cd%/out:/out" -v "%cd%/app:/app" switch go build -o /out/switch.exe /app/switch.go
|
||||
@echo on
|
||||
3
dev.bat
Normal file
3
dev.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
docker run --rm -it --name switch-builder -e GOOS=linux -e GOARCH=386 -v "%cd%/app:/app" switch sh
|
||||
@echo on
|
||||
Reference in New Issue
Block a user