Skip to content

Commit

Permalink
v0.5.4 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 18, 2022
1 parent dff4fe8 commit ba55ef6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@ 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.5.3), and run it with the available options.
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.5.4), 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.5.3/setup_cpp_windows.exe"
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.5.4/setup_cpp_windows.exe"
./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
RefreshEnv.cmd # reload the environment
```

```ps1
# linux example
wget "https://github.com/aminya/setup-cpp/releases/download/v0.5.3/setup_cpp_linux"
wget "https://github.com/aminya/setup-cpp/releases/download/v0.5.4/setup_cpp_linux"
chmod +x setup_cpp_linux
sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
Expand All @@ -66,7 +66,7 @@ source ~/.profile # reload the environment

```ps1
# mac example
wget "https://github.com/aminya/setup-cpp/releases/download/v0.5.3/setup_cpp_mac"
wget "https://github.com/aminya/setup-cpp/releases/download/v0.5.4/setup_cpp_mac"
chmod +x setup_cpp_mac
sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
Expand All @@ -80,15 +80,15 @@ NOTE: you will not need `sudo` if you are already a root user (e.g., in a GitLab

### With Nodejs

Download the `setup_cpp.js` file form [here](https://github.com/aminya/setup-cpp/releases/download/v0.5.3/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.5.4/setup_cpp.js), and run it with the available options.

On Windows:

Open the shell as admin, download via `curl`, then install

```ps1
# open shell as admin
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.5.3/setup_cpp.js"
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.5.4/setup_cpp.js"
node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
RefreshEnv.cmd # reload the environment
Expand All @@ -97,7 +97,7 @@ RefreshEnv.cmd # reload the environment
On Linux or Mac:

```ps1
wget "https://github.com/aminya/setup-cpp/releases/download/v0.5.3/setup_cpp.js"
wget "https://github.com/aminya/setup-cpp/releases/download/v0.5.4/setup_cpp.js"
sudo node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
source ~/.profile # reload the environment
Expand Down Expand Up @@ -174,7 +174,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.5.3/setup_cpp_linux"
RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.5.4/setup_cpp_linux"
RUN chmod +x ./setup_cpp_linux

# install llvm, cmake, ninja, and ccache
Expand Down

0 comments on commit ba55ef6

Please sign in to comment.