mirror of
https://github.com/lionsoul2014/ip2region.git
synced 2025-12-08 19:25:22 +00:00
Create "make.bat" in windows for golang maker
新增golang maker在windows下的编译文件
This commit is contained in:
parent
fa42e387a3
commit
5a5e727811
18
maker/golang/make.bat
Normal file
18
maker/golang/make.bat
Normal file
@ -0,0 +1,18 @@
|
||||
::ip2region golang maker makefile in windows
|
||||
@echo off
|
||||
|
||||
if [%1] == [] goto:build
|
||||
|
||||
if %1==clean (
|
||||
call:clean
|
||||
) else if %1==build (
|
||||
call:build
|
||||
)
|
||||
exit /b 0
|
||||
|
||||
:build
|
||||
go build -o xdb_maker.exe
|
||||
exit /b 0
|
||||
|
||||
:clean
|
||||
del/f/s/q xdb_maker.exe
|
||||
Loading…
x
Reference in New Issue
Block a user