mirror of https://github.com/aminya/setup-cpp
v0.9.1 [skip ci]
This commit is contained in:
parent
cc4cfdf4da
commit
b61ff14f97
18
README.md
18
README.md
|
@ -51,13 +51,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.9.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.9.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 -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.9.0/setup_cpp_windows.exe"
|
||||
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.9.1/setup_cpp_windows.exe"
|
||||
./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
|
||||
|
||||
RefreshEnv.cmd # reload the environment
|
||||
|
@ -65,7 +65,7 @@ RefreshEnv.cmd # reload the environment
|
|||
|
||||
```ps1
|
||||
# linux example
|
||||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.9.0/setup_cpp_linux"
|
||||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.9.1/setup_cpp_linux"
|
||||
chmod +x setup_cpp_linux
|
||||
sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
|
||||
|
||||
|
@ -74,7 +74,7 @@ source ~/.profile # reload the environment
|
|||
|
||||
```ps1
|
||||
# mac example
|
||||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.9.0/setup_cpp_mac"
|
||||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.9.1/setup_cpp_mac"
|
||||
chmod +x setup_cpp_mac
|
||||
sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
|
||||
|
||||
|
@ -88,7 +88,7 @@ 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.9.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.9.1/setup_cpp.js), and run it with the available options.
|
||||
|
||||
On Windows:
|
||||
|
||||
|
@ -96,7 +96,7 @@ 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.9.0/setup_cpp.js"
|
||||
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.9.1/setup_cpp.js"
|
||||
node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
|
||||
|
||||
RefreshEnv.cmd # reload the environment
|
||||
|
@ -105,7 +105,7 @@ RefreshEnv.cmd # reload the environment
|
|||
On Linux or Mac:
|
||||
|
||||
```ps1
|
||||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.9.0/setup_cpp.js"
|
||||
wget "https://github.com/aminya/setup-cpp/releases/download/v0.9.1/setup_cpp.js"
|
||||
sudo node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
|
||||
|
||||
source ~/.profile # reload the environment
|
||||
|
@ -184,7 +184,7 @@ FROM debian:bullseye
|
|||
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.9.0/setup_cpp_linux"
|
||||
RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.9.1/setup_cpp_linux"
|
||||
RUN chmod +x ./setup_cpp_linux
|
||||
|
||||
# install llvm, cmake, ninja, and ccache
|
||||
|
@ -263,7 +263,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.9.0/setup_cpp_linux"
|
||||
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.9.1/setup_cpp_linux"
|
||||
chmod +x setup_cpp_linux
|
||||
./setup_cpp_linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true
|
||||
source ~/.profile
|
||||
|
|
|
@ -5,7 +5,7 @@ FROM debian:bullseye
|
|||
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.9.0/setup_cpp_linux"
|
||||
RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.9.1/setup_cpp_linux"
|
||||
RUN chmod +x ./setup_cpp_linux
|
||||
|
||||
# install llvm, cmake, ninja, and ccache
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "setup-cpp",
|
||||
"version": "0.9.0",
|
||||
"version": "0.9.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",
|
||||
|
|
Loading…
Reference in New Issue