From c5ed0818db14e270dcd081c4e3698e2cb80e2e98 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 6 Dec 2021 10:21:10 -0600 Subject: [PATCH] v0.4.0 [skip ci] --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b4e63de7..48cd1375 100644 --- a/README.md +++ b/README.md @@ -43,26 +43,26 @@ Tip: You can automate downloading using `wget`, `curl`, or other similar tools. ### Executable -Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.3.1), and run it with the available options. +Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.4.0), and run it with the available options. An example that installs llvm, cmake, ninja, ccache, and vcpkg: ```ps1 # windows example (open shell as admin) -curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp_windows.exe" +curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.4.0/setup_cpp_windows.exe" ./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true ``` ```ps1 # linux example -wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp_linux" +wget "https://github.com/aminya/setup-cpp/releases/download/v0.4.0/setup_cpp_linux" chmod +x setup_cpp_linux sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true ``` ```ps1 # mac example -wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp_mac" +wget "https://github.com/aminya/setup-cpp/releases/download/v0.4.0/setup_cpp_mac" chmod +x setup_cpp_mac sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --vcpkg true ``` @@ -72,20 +72,20 @@ For the tools, instead of `true` that chooses the default version, you can pass ### With Nodejs -Download the `setup_cpp.js` file form [here](https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp.js), and run it with the available options. +Download the `setup_cpp.js` file form [here](https://github.com/aminya/setup-cpp/releases/download/v0.4.0/setup_cpp.js), and run it with the available options. On Windows ```ps1 # open shell as admin -curl "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp.js" +curl "https://github.com/aminya/setup-cpp/releases/download/v0.4.0/setup_cpp.js" node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true ``` On Linux or Mac: ```ps1 -wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp.js" +wget "https://github.com/aminya/setup-cpp/releases/download/v0.4.0/setup_cpp.js" sudo node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true ``` @@ -160,7 +160,7 @@ WORKDIR "/" RUN apt-get update -qq RUN apt-get install -y --no-install-recommends apt-utils RUN apt-get install -y --no-install-recommends ca-certificates wget unzip -RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.3.1/setup_cpp_linux" +RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.4.0/setup_cpp_linux" RUN chmod +x ./setup_cpp_linux # install llvm, cmake, ninja, ccache, and vcpkg