Skip to content

Commit 615b5f7

Browse files
committed
chore: v0.27.0
1 parent c6ace58 commit 615b5f7

File tree

2 files changed

+11
-17
lines changed

2 files changed

+11
-17
lines changed

README.md

+10-16
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,18 @@ Setting up a **cross-platform** environment for building and testing C++/C proje
3232

3333
#### With npm and Nodejs
3434

35-
Install setup-cpp with npm:
35+
Run `setup-cpp` with the available options.
3636

3737
```shell
38-
npm install -g setup-cpp
39-
```
40-
41-
Then run `setup-cpp` with the available options.
42-
43-
```shell
44-
# windows example (open PowerShell as admin)
45-
setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
38+
# Windows example (open PowerShell as admin)
39+
npx setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
4640

4741
RefreshEnv.cmd # activate the environment
4842
```
4943

5044
```shell
51-
# linux/macos example
52-
sudo setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
45+
# Linux/Macos example
46+
sudo npx setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
5347

5448
source ~/.cpprc
5549
```
@@ -62,21 +56,21 @@ NOTE: On Unix systems, if you are already a root user (e.g., in a GitLab runner
6256

6357
#### With executable
6458

65-
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.26.2), and run it with the available options. You can also automate downloading using `wget`, `curl`, or other similar tools.
59+
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.27.0), and run it with the available options. You can also automate downloading using `wget`, `curl`, or other similar tools.
6660

6761
An example that installs llvm, cmake, ninja, ccache, and vcpkg:
6862

6963
```shell
7064
# windows example (open PowerShell as admin)
71-
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.26.2/setup-cpp-x64-windows.exe"
65+
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.27.0/setup-cpp-x64-windows.exe"
7266
./setup-cpp-x64-windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
7367

7468
RefreshEnv.cmd # activate cpp environment variables
7569
```
7670

7771
```shell
7872
# linux example
79-
wget "https://github.com/aminya/setup-cpp/releases/download/v0.26.2/setup-cpp-x64-linux"
73+
wget "https://github.com/aminya/setup-cpp/releases/download/v0.27.0/setup-cpp-x64-linux"
8074
chmod +x ./setup-cpp-x64-linux
8175
sudo ./setup-cpp-x64-linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
8276

@@ -85,7 +79,7 @@ source ~/.cpprc # activate cpp environment variables
8579

8680
```shell
8781
# macos example
88-
wget "https://github.com/aminya/setup-cpp/releases/download/v0.26.2/setup-cpp-x64-macos"
82+
wget "https://github.com/aminya/setup-cpp/releases/download/v0.27.0/setup-cpp-x64-macos"
8983
chmod +x ./setup-cpp-x64-macos
9084
sudo ./setup-cpp-x64-macos --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
9185

@@ -255,7 +249,7 @@ stages:
255249
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F
256250

257251
.setup-cpp: &setup-cpp |
258-
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.26.2/setup-cpp-x64-linux"
252+
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.27.0/setup-cpp-x64-linux"
259253
chmod +x setup-cpp-x64-linux
260254
./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
261255
source ~/.cpprc

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-cpp",
3-
"version": "0.26.2",
3+
"version": "0.27.0",
44
"description": "Install all the tools required for building and testing C++/C projects.",
55
"repository": "https://github.com/aminya/setup-cpp",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)