From 882700dd1b7e27bb2f2a61d5711a7c6f2740bd48 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 29 Jun 2019 12:58:52 +0200 Subject: [PATCH] readme: new simpler instructions --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6a8a436c6e..4a42bcd44d 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ You'll need Clang or GCC. On macOS run `xcode-select --install` if you don't hav ```bash # You can clone V anywhere git clone https://github.com/vlang/v -cd v/compiler +cd v make ``` Or build without make: @@ -66,20 +66,18 @@ cc -std=gnu11 -w -o v v.c # Build it with Clang or GCC ./v -o v . # Build the compiler again to make sure it works ``` -That's it! Now you have a V executable at `v/compiler/v`. +That's it! Now you have a V executable at `[path to V repo]/v`. You can create a symlink so that it's globally available: ``` -sudo ln -s [path to V repo]/compiler/v /usr/local/bin/v +sudo ln -s [path to V repo]/v /usr/local/bin/v ``` V is being constantly updated. To update V, simply run ``` git pull origin master -cd compiler/ -make clean make ```