@echo off c:\ng\bin\vmgc.exe -I c:\ng\pkg -o out.vmo %1 IF EXIST out.vmo c:\ng\bin\vmld.exe -L c:\ng\pkg -o out.vmx out.vmo IF EXIST out.vmx c:\ng\bin\vmrun.exe out.vmx %2 %3 %4 IF EXIST out.vmx del out.vmx IF EXIST out.vmo del out.vmo
move ng.bat to c:\windows
now from command prompt you can run your go file by calling
c:\>ng hello.go
0 comments:
Post a Comment