From 75619ca972a3f95c0f959962bb2c8890117f208d Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Thu, 12 May 2022 19:10:55 -0700 Subject: [PATCH] chore: v0.14.2 [skip ci] --- README.md | 18 +++++++++--------- dev/docker/ubuntu.dockerfile | 4 ++-- package.json | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 119ed1ca..e68de1e7 100644 --- a/README.md +++ b/README.md @@ -52,13 +52,13 @@ 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.14.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.14.2), 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.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.1/setup_cpp_windows.exe" +curl.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.2/setup_cpp_windows.exe" .\setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true RefreshEnv.cmd # activate cpp environment variables @@ -66,7 +66,7 @@ RefreshEnv.cmd # activate cpp environment variables ```ps1 # linux example -wget "https://github.com/aminya/setup-cpp/releases/download/v0.14.1/setup_cpp_linux" +wget "https://github.com/aminya/setup-cpp/releases/download/v0.14.2/setup_cpp_linux" chmod +x setup_cpp_linux sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true @@ -75,7 +75,7 @@ source ~/.cpprc # activate cpp environment variables ```ps1 # mac example -wget "https://github.com/aminya/setup-cpp/releases/download/v0.14.1/setup_cpp_mac" +wget "https://github.com/aminya/setup-cpp/releases/download/v0.14.2/setup_cpp_mac" chmod +x setup_cpp_mac sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --vcpkg true @@ -90,7 +90,7 @@ NOTE: On Unix systems, you will not need `sudo` if you are already a root user ( ### With Nodejs -Download the `setup_cpp.js` file form [here](https://github.com/aminya/setup-cpp/releases/download/v0.14.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.14.2/setup_cpp.js), and run it with the available options. On Windows: @@ -98,7 +98,7 @@ Open the shell as admin, download via `curl`, then install ```ps1 # open shell as admin -curl.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.1/setup_cpp.js" +curl.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.2/setup_cpp.js" node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true RefreshEnv.cmd # activate cpp environment variables @@ -107,7 +107,7 @@ RefreshEnv.cmd # activate cpp environment variables On Linux or Mac: ```ps1 -wget "https://github.com/aminya/setup-cpp/releases/download/v0.14.1/setup_cpp.js" +wget "https://github.com/aminya/setup-cpp/releases/download/v0.14.2/setup_cpp.js" sudo node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true source ~/.cpprc # activate cpp environment variables @@ -186,7 +186,7 @@ FROM ubuntu:22.04 AS base WORKDIR "/" RUN apt-get update -qq RUN apt-get install -y --no-install-recommends wget -RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.14.1/setup_cpp_linux" +RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.14.2/setup_cpp_linux" RUN chmod +x ./setup_cpp_linux # install llvm, cmake, ninja, and ccache @@ -280,7 +280,7 @@ stages: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F .setup_cpp: &setup_cpp | - curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.1/setup_cpp_linux" + curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.2/setup_cpp_linux" chmod +x setup_cpp_linux ./setup_cpp_linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true source ~/.cpprc diff --git a/dev/docker/ubuntu.dockerfile b/dev/docker/ubuntu.dockerfile index 1a731aa1..cda87ccc 100644 --- a/dev/docker/ubuntu.dockerfile +++ b/dev/docker/ubuntu.dockerfile @@ -5,7 +5,7 @@ FROM ubuntu:22.04 AS base WORKDIR "/" RUN apt-get update -qq RUN apt-get install -y --no-install-recommends wget -RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.14.1/setup_cpp_linux" +RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.14.2/setup_cpp_linux" RUN chmod +x ./setup_cpp_linux # install llvm, cmake, ninja, and ccache @@ -18,7 +18,7 @@ ENTRYPOINT [ "/bin/bash" ] FROM base AS builder ADD ./dev/cpp_vcpkg_project /home/app WORKDIR /home/app -RUN bash -c 'source ~/.cpprc \ +RUN bash -c 'source ~/.cpprc \ && make build' ### Running environment diff --git a/package.json b/package.json index 6552dbaf..401e97e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-cpp", - "version": "0.14.1", + "version": "0.14.2", "description": "Install all the tools required for building and testing C++/C projects.", "repository": "https://github.com/aminya/setup-cpp", "license": "Apache-2.0",