diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..36b7cd9 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,23 @@ +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2072306..bee0b8e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,8 +10,8 @@ jobs: echo Loading VS environment call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\vsdevcmd" -arch=x64 || exit 1 echo Executing Build and Tests - pwsh -noni -c iwr https://github.com/vector-of-bool/dds/releases/download/0.0.1/dds-win-x64.exe -OutFile dds.exe || exit 1 - .\dds.exe build -t tools/msvc.dds + pwsh -noni -c iwr https://github.com/vector-of-bool/dds/releases/download/0.1.0-alpha.3/dds-win-x64.exe -OutFile dds.exe || exit 1 + .\dds.exe build -t tools/msvc.jsonc displayName: Build and Run Unit Tests - job: Linux_GCC9 @@ -22,10 +22,10 @@ jobs: set -eu sudo apt update -y sudo apt install -y g++-9 - curl -L https://github.com/vector-of-bool/dds/releases/download/0.0.1/dds-linux-x64 -o dds + curl -L https://github.com/vector-of-bool/dds/releases/download/0.1.0-alpha.3/dds-linux-x64 -o dds chmod +x dds displayName: Prepare System - - script: ./dds build -t tools/gcc-9.dds + - script: ./dds build -t tools/gcc-9.jsonc displayName: Build and Run Unit Tests - job: macOS_GCC9 @@ -35,8 +35,8 @@ jobs: - script: | set -eu brew install gcc@9 - curl -L https://github.com/vector-of-bool/dds/releases/download/0.0.1/dds-macos-x64 -o dds + curl -L https://github.com/vector-of-bool/dds/releases/download/0.1.0-alpha.3/dds-macos-x64 -o dds chmod +x dds displayName: Prepare System - - script: ./dds build -t tools/gcc-9.dds + - script: ./dds build -t tools/gcc-9.jsonc displayName: Build and Run Unit Tests diff --git a/library.dds b/library.dds deleted file mode 100644 index c339278..0000000 --- a/library.dds +++ /dev/null @@ -1 +0,0 @@ -Name: pubgrub \ No newline at end of file diff --git a/library.jsonc b/library.jsonc new file mode 100644 index 0000000..a81e165 --- /dev/null +++ b/library.jsonc @@ -0,0 +1,3 @@ +{ + "name": "pubgrub" +} \ No newline at end of file diff --git a/package.dds b/package.dds deleted file mode 100644 index 88bd68f..0000000 --- a/package.dds +++ /dev/null @@ -1,4 +0,0 @@ -Name: pubgrub -Version: 0.2.0 - -Test-Driver: Catch-Main \ No newline at end of file diff --git a/package.jsonc b/package.jsonc new file mode 100644 index 0000000..630b8f9 --- /dev/null +++ b/package.jsonc @@ -0,0 +1,6 @@ +{ + "name": "pubgrub", + "version": "0.2.1", + "namespace": "vob", + "test_driver": "Catch-Main" +} \ No newline at end of file diff --git a/tools/gcc-9.dds b/tools/gcc-9.dds deleted file mode 100644 index 1c58e51..0000000 --- a/tools/gcc-9.dds +++ /dev/null @@ -1,7 +0,0 @@ -Compiler-ID: GNU -C++-Version: C++17 -C-Compiler: gcc-9 -C++-Compiler: g++-9 -Flags: -fconcepts -Werror=return-type -D_GLIBCXX_DEBUG -Link-Flags: -Debug: True diff --git a/tools/gcc-9.jsonc b/tools/gcc-9.jsonc new file mode 100644 index 0000000..fd040ad --- /dev/null +++ b/tools/gcc-9.jsonc @@ -0,0 +1,7 @@ +{ + "compiler_id": "gnu", + "cxx_version": "c++17", + "cxx_compiler": "g++-9", + "cxx_flags": "-fconcepts -Werror=return-type -D_GLIBCXX_DEBUG", + "debug": true +} \ No newline at end of file diff --git a/tools/msvc.dds b/tools/msvc.dds deleted file mode 100644 index 5df8017..0000000 --- a/tools/msvc.dds +++ /dev/null @@ -1,2 +0,0 @@ -Compiler-ID: MSVC -Flags: /std:c++latest diff --git a/tools/msvc.jsonc b/tools/msvc.jsonc new file mode 100644 index 0000000..1673c62 --- /dev/null +++ b/tools/msvc.jsonc @@ -0,0 +1,6 @@ +// Compiler-ID: MSVC +// Flags: /std:c++latest +{ + "compiler_id": "msvc", + "flags": "/std:c++latest" +} \ No newline at end of file