mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
[Other] rm -fr tap2socks
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
Push-Location (Split-Path $MyInvocation.MyCommand.Path -Parent)
|
||||
|
||||
$Env:CGO_ENABLED='0'
|
||||
$Env:GOROOT_FINAL='/usr'
|
||||
|
||||
$Env:GOOS='windows'
|
||||
$Env:GOARCH='amd64'
|
||||
go build -a -trimpath -asmflags '-s -w' -ldflags '-s -w' -o '..\release\tap2socks.exe'
|
||||
|
||||
Pop-Location
|
||||
exit $lastExitCode
|
||||
@@ -1,8 +0,0 @@
|
||||
Push-Location (Split-Path $MyInvocation.MyCommand.Path -Parent)
|
||||
|
||||
rm -Force go.*
|
||||
go mod init tap2socks
|
||||
go mod tidy
|
||||
|
||||
Pop-Location
|
||||
exit $lastExitCode
|
||||
@@ -1,3 +0,0 @@
|
||||
module tap2socks
|
||||
|
||||
go 1.17
|
||||
@@ -1,5 +0,0 @@
|
||||
package main
|
||||
|
||||
func main() {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user