anchor.diff:  @setlocal
   @set PROMPT=$G$S
  +
  +@if exist "%~dp0version.cmd" call "%~dp0version.cmd"
  +
   @if not "%1" == "" goto %1
   
   :build
  -        echo %DATE:/=% > version.now
  -        goto _build
  +        @set "VERSION=%DATE:/=%"
  +        @set X_VERSION=
  +        @goto _build
   
   :release
  -        for /F %%I in (version.txt) do set "VERSION=-X main.version %%I"
  -        copy version.txt version.now
  +        for /F %%I in (version.txt) do set VERSION=%%I
  +        set "X_VERSION=-X main.version %VERSION%"
   
   :_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%"
  +        for /F %%V in ('git log -1 --pretty^=format:%%H') do go build -ldflags "-X main.stamp %DATE% -X main.commit %%V %X_VERSION%"
           goto end
   
   :fmt
  
positive.code: :help
          @echo off
          echo Usage for make.cmd
          echo   %0 (no arguments) == %0 build
          echo   %0 build .... Build nyagos.exe as snapshot (ignore version.txt)
          echo   %0 release .. Build nyagos.exe as release  (see version.txt)
          echo   %0 fmt ...... Format all source files with 'go fmt'
          echo   %0 clean .... Delete nyagos.exe and nyagos.syso
          echo   %0 install .. Copy binaries to %~dp0installdir
          echo   %0 package .. Make the package zip-file (see version.now)
          echo   %0 get ...... Do 'go get' for each github library
          echo   %0 upgrade .. Do 'git pull' for each github library
          echo   %0 help ..... Print help
  :end
  
negative.code:         goto end
  
  :package
          zip -9 "nyagos-%VERSION%%2.zip" nyagos.exe lua52.dll nyagos.lua nyagos_ja.md nyagos_en.md readme.md .nyagos nyagos.d\*.lua
          goto end
  
  :install
          @echo off
          if not "%2" == "" set "INSTALLDIR=%2"
          if "%INSTALLDIR%" == "" (
              @echo Please %0.cmd install PATH\TO\BIN, once
              goto end
          )
          if exist installdir (
              @start make.cmd install.
          ) else (
              @echo Please %0.cmd install EXIST\PATH\TO\BIN,  once
          )
          goto end
  
  :install.
          @echo Please close NYAGOS.exe and hit ENTER.
          @pause
          robocopy nyagos.d "%INSTALLDIR%\nyagos.d" /mir
          copy nyagos.exe "%INSTALLDIR%\."
          copy nyagos.lua "%INSTALLDIR%\."
          copy lua52.dll  "%INSTALLDIR%\."
          goto end
  
  :upgrade
  