1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cmd/v: rewrite flags

This commit is contained in:
lutherwenxu
2020-03-07 01:53:29 +08:00
committed by GitHub
parent 522de0871a
commit aab31f4b35
37 changed files with 1087 additions and 464 deletions

View File

@@ -8,7 +8,7 @@ uname -a
make -j4
./v --version
./v -version
du -s .

View File

@@ -131,7 +131,7 @@ jobs:
../../vprod gen1m.v
./gen1m > 1m.v
echo "Building it..."
../../vprod -x64 -o 1m 1m.v
../../vprod -backend x64 -o 1m 1m.v
echo "Running it..."
ls
# ./1m
@@ -144,7 +144,7 @@ jobs:
- name: Install dependencies
run: sudo rm -f /etc/apt/sources.list.d/dotnetdev.list /etc/apt/sources.list.d/microsoft-prod.list; sudo apt-get update; sudo apt-get install --quiet -y postgresql libpq-dev libglfw3 libglfw3-dev libfreetype6-dev libssl-dev sqlite3 libsqlite3-dev libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
- name: Download V
run: wget https://github.com/vlang/v/releases/latest/download/v_linux.zip && unzip v_linux.zip && ./v --version
run: wget https://github.com/vlang/v/releases/latest/download/v_linux.zip && unzip v_linux.zip && ./v -version
- name: Test V
run: ./v examples/hello_world.v && examples/hello_world #&& ./v -silent build-examples
@@ -157,7 +157,7 @@ jobs:
brew install freetype glfw openssl sdl2 sdl2_ttf sdl2_mixer sdl2_image
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"
- name: Download V
run: wget https://github.com/vlang/v/releases/latest/download/v_macos.zip && unzip v_macos.zip && ./v --version
run: wget https://github.com/vlang/v/releases/latest/download/v_macos.zip && unzip v_macos.zip && ./v -version
- name: Test V
run: ./v examples/hello_world.v && examples/hello_world #&& ./v -silent build-examples
@@ -171,7 +171,7 @@ jobs:
curl -L https://github.com/vlang/v/releases/latest/download/v_windows.zip -o v_windows.zip
echo Unzipping...
unzip v_windows.zip
v.exe --version
v.exe -version
echo Done
dir
- name: Test V