From 387e56e21548300b43c81536cb4cd4456290815a Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 14 Oct 2019 04:39:45 +0300 Subject: [PATCH] move compiler/main.v to v.v --- Makefile | 6 +++--- make.bat | 8 ++++---- compiler/main.v => v.v | 0 3 files changed, 7 insertions(+), 7 deletions(-) rename compiler/main.v => v.v (100%) diff --git a/Makefile b/Makefile index 92d59aaa42..50befb0778 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ endif all: fresh_vc fresh_tcc ifdef WIN32 $(CC) -std=c99 -w -o v0.exe vc/v_win.c - ./v0.exe -o v.exe compiler + ./v0.exe -o v.exe v.v rm -f v0.exe else $(CC) -std=gnu11 -w -o v vc/v.c -lm @@ -27,7 +27,7 @@ else V_V=`git rev-parse --short HEAD`; \ if [ $$VC_V != $$V_V ]; then \ echo "Self rebuild ($$VC_V => $$V_V)"; \ - ./v -o v compiler; \ + ./v v.v; \ fi) endif rm -rf vc/ @@ -43,4 +43,4 @@ fresh_tcc: git clone --depth 1 --quiet https://github.com/vmisc/tccbin /var/tmp/tcc selfcompile: - ./v -o v compiler + ./v v.v diff --git a/make.bat b/make.bat index 71ecfa5a3d..ff85aef4d8 100644 --- a/make.bat +++ b/make.bat @@ -35,8 +35,8 @@ if %ERRORLEVEL% NEQ 0 ( ) echo Now using V to build V... -v2.exe -o v3.exe compiler -v3.exe -o v.exe -prod compiler +v2.exe -o v3.exe v.v +v3.exe -o v.exe -prod v.v if %ERRORLEVEL% NEQ 0 ( echo v.exe failed to compile itself - Create an issue at 'https://github.com/vlang' exit /b 1 @@ -69,8 +69,8 @@ if %ERRORLEVEL% NEQ 0 ( ) echo rebuild from source (twice, in case of C definitions changes) -v2.exe -os msvc -o v3.exe compiler -v3.exe -os msvc -o v.exe -prod compiler +v2.exe -os msvc -o v3.exe v.v +v3.exe -os msvc -o v.exe -prod v.v if %ERRORLEVEL% NEQ 0 ( echo V failed to build itself goto :compileerror diff --git a/compiler/main.v b/v.v similarity index 100% rename from compiler/main.v rename to v.v