Skip to content

Instantly share code, notes, and snippets.

@johnvpetersen
johnvpetersen / workbench-vscode.sh
Last active August 21, 2023 22:05
VS Code workspace configuration for workbench-based project
View workbench-vscode.sh
# A VS Code workspace workbench implementation.
source ~/bin/workbench/workbench.sh
cp ~/bin/workbench/workbench.code-workspace.json workbench.code-workspace
code .
@johnvpetersen
johnvpetersen / cicd.sh
Last active August 21, 2023 22:03
A simple workbench-type, test-first approach for dotnet CLI-based project setups
View cicd.sh
#pull
git pull origin main
#clean
dotnet clean
find . -iname "bin" -print0 | xargs -0 rm -rfv
find . -iname "obj" -print0 | xargs -0 rm -rfv
#build
dotnet build -c debug
#test
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=lcov.info