diff options
author | vnugent <public@vaughnnugent.com> | 2024-05-06 21:50:29 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-05-06 21:50:29 -0400 |
commit | f533694023133552d0d42933d779c95a5854343f (patch) | |
tree | 4e6382478aca366e0cfc9ca7a76be0382ae16fac /Taskfile.yaml | |
parent | 940ff20348b13d0bc30d9e9f4289dd6de20b16ba (diff) |
feat: CMake install & fetch-content test & updates
Diffstat (limited to 'Taskfile.yaml')
-rw-r--r-- | Taskfile.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Taskfile.yaml b/Taskfile.yaml index 6524c5c..2fbda5a 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -43,13 +43,17 @@ tasks: cmds: - task: build-debug - cmd: cd {{.CMAKE_BUILD_DIR}} && {{if eq OS "windows"}}debug/nctest.exe{{else}}./nctest{{end}} + + install: + desc: "Uses cmake to install the library on your system" + cmds: + - cmd: cmake --install {{.CMAKE_BUILD_DIR}} {{.CLI_ARGS}} #CI ONLY!! #called by build pipeline to build module build: - desc: "DO NOT RUN! CI Only" cmds: - echo "building project {{.PROJECT_NAME}}" - cmd: powershell -Command "mkdir bin/ -Force" @@ -109,7 +113,7 @@ tasks: desc: "Packs up the project source code and creates a tarball in the builds binary directory" vars: TARGET_SOURCE: '{{.PROJECT_DIR}}/{{.BINARY_DIR}}/{{.PROJECT_NAME}}-src.tgz' - SOURCE_FILES: 'CMakeLists.txt src include license tests Taskfile.yaml' + SOURCE_FILES: 'CMakeLists.txt src include license tests vendor readme.md Taskfile.yaml' cmds: #tar up the source |