anchor.diff:          goto end
   
   :package
  -        for /F %%I in (version.txt) do zip -9 "nyagos-%%I.zip" nyagos.exe lua52.dll nyagos.lua nyagos_ja.md nyagos_en.md readme.md .nyagos nyagos.d\*.lua
  -        goto end
  -
  -:snapshot
  -        zip -9 nyagos-%DATE:/=%%2.zip nyagos.exe lua52.dll nyagos.lua nyagos_ja.md nyagos_en.md readme.md .nyagos nyagos.d\*.lua
  +        for /F %%I in (version.now) do zip -9 "nyagos-%%I%2.zip" nyagos.exe lua52.dll nyagos.lua nyagos_ja.md nyagos_en.md readme.md .nyagos nyagos.d\*.lua
           goto end
   
   :install
  
positive.code:             git pull origin master:master
              go build
          )
  
  :end
  
negative.code: @if not "%1" == "" goto %1
  
  :build
          echo %DATE:/=% > version.now
          goto _build
  
  :release
          for /F %%I in (version.txt) do set "VERSION=-X main.version %%I"
          copy version.txt version.now
  
  :_build
          if not exist nyagos.syso windres --output-format=coff -o nyagos.syso nyagos.rc
          for /F %%V in ('git log -1 --pretty^=format:%%H') do go build -ldflags "-X main.stamp %DATE% -X main.commit %%V %VERSION%"
          goto end
  
  :fmt
          for /R . %%I IN (*.go) do go fmt %%I
  