Skip to content

About

Common Scripts for C/C++ Development.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

dev-scripts

This repository provides common scripts for C/C++ development. Each script is a single file under scripts/, which a project downloads into its own repository rather than vendoring this repository. docs/about-scripts describes the usage of each script.

Script Purpose
vcpkg-workspace.cmake Checks out vcpkg and vcpkg overlays as a project specifies them, and installs the dependencies of the project

The GitHub Actions under actions/ run the scripts of the same commit, therefore a workflow uses them without a download.

Action Purpose
actions/vcpkg-workspace Runs vcpkg-workspace.cmake install and caches the binary packages of vcpkg

Download

A project downloads a script into its scripts directory and ignores it in scripts/.gitignore. The following command downloads a script in a POSIX shell:

curl -fsSL -o scripts/<script> https://raw.githubusercontent.com/stdware/dev-scripts/main/scripts/<script>

The following command downloads a script in PowerShell or in cmd:

powershell -Command "Invoke-WebRequest -OutFile scripts/<script> https://raw.githubusercontent.com/stdware/dev-scripts/main/scripts/<script>"

Replace main with a commit hash to download a fixed version.

License

MIT. See LICENSE.

About

Common Scripts for C/C++ Development.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages