Skip to content

Commit

Permalink
chore: 0.24.1 [skip test]
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Dec 21, 2022
1 parent d8f740e commit ecd2b40
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,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.24.0), and run it with the available options.
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.24.1), 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.24.0/setup_cpp_windows.exe"
curl.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.24.1/setup_cpp_windows.exe"
.\setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
RefreshEnv.cmd # activate cpp environment variables
```

```ps1
# linux example
wget "https://github.com/aminya/setup-cpp/releases/download/v0.24.0/setup_cpp_linux"
wget "https://github.com/aminya/setup-cpp/releases/download/v0.24.1/setup_cpp_linux"
chmod +x setup_cpp_linux
sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
Expand All @@ -59,7 +59,7 @@ source ~/.cpprc # activate cpp environment variables

```ps1
# mac example
wget "https://github.com/aminya/setup-cpp/releases/download/v0.24.0/setup_cpp_mac"
wget "https://github.com/aminya/setup-cpp/releases/download/v0.24.1/setup_cpp_mac"
chmod +x setup_cpp_mac
sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
Expand All @@ -74,15 +74,15 @@ 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.24.0/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.24.1/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.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.24.0/setup_cpp.js"
curl.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.24.1/setup_cpp.js"
node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
RefreshEnv.cmd # activate cpp environment variables
Expand All @@ -91,7 +91,7 @@ RefreshEnv.cmd # activate cpp environment variables
On Linux or Mac:

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

# install llvm, cmake, ninja, and ccache
Expand Down Expand Up @@ -262,7 +262,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.24.0/setup_cpp_linux"
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.24.1/setup_cpp_linux"
chmod +x setup_cpp_linux
./setup_cpp_linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
source ~/.cpprc
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/ubuntu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.24.0/setup_cpp_linux"
RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.24.1/setup_cpp_linux"
RUN chmod +x ./setup_cpp_linux

# install llvm, cmake, ninja, and ccache
Expand Down
2 changes: 1 addition & 1 deletion dist/node12/setup_cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/node12/setup_cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/node16/setup_cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/node16/setup_cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-cpp",
"version": "0.24.0",
"version": "0.24.1",
"description": "Install all the tools required for building and testing C++/C projects.",
"repository": "https://github.com/aminya/setup-cpp",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/doxygen/doxygen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export async function setupDoxygen(version: string, setupDir: string, arch: stri
() => {
return setupChocoPack("doxygen.install", version)
},
{ max: 4, backoffBase: 2000, report: (err) => info(err) }
{ name: "doxygen.install", max: 4, backoffBase: 2000, report: (err) => info(err) }
)
const binDir = await activateWinDoxygen()
const installationInfo = { binDir }
Expand Down
2 changes: 1 addition & 1 deletion src/utils/setup/setupBin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export async function setupBin(
() => {
return downloadTool(url)
},
{ max: 4, backoffBase: 2000, report: (err) => info(err) }
{ name: url, max: 4, backoffBase: 2000, report: (err) => info(err) }
)

if (!didInit) {
Expand Down

0 comments on commit ecd2b40

Please sign in to comment.