github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/sys/windows/mkall_windows.bat (about)

     1  :: Copyright 2013 The Go Authors. All rights reserved.
     2  :: Use of this source code is governed by a BSD-style
     3  :: license that can be found in the LICENSE file.
     4  @echo off
     5  
     6  if exist syscall_windows.go goto dirok
     7  echo mkall_windows.bat must be run from go.sys\windows directory
     8  goto :end
     9  :dirok
    10  
    11  go build -o mksyscall_windows.exe %GOROOT%\src\pkg\syscall\mksyscall_windows.go
    12  mksyscall_windows.exe syscall_windows.go security_windows.go |gofmt >zsyscall_windows.go
    13  del mksyscall_windows.exe
    14  
    15  :end