chore(build): move generated outputs out of harness
This commit is contained in:
-14
@@ -20,20 +20,6 @@ __pycache__/
|
|||||||
*.h5
|
*.h5
|
||||||
.worktrees/
|
.worktrees/
|
||||||
|
|
||||||
# local Harness configuration and build outputs
|
|
||||||
.harness/config.json
|
|
||||||
.harness/build/
|
|
||||||
.harness/build-ninja-msvc-debug/
|
|
||||||
.harness/build-ninja-msvc-debug-english/
|
|
||||||
.harness/build-ninja-msvc-debug-prefix/
|
|
||||||
.harness/build-ninja-msvc-debug-lazy/
|
|
||||||
.harness/build-ninja-msvc-release-lazy/
|
|
||||||
.harness/build-ninja-msvc-release-prefix-cl/
|
|
||||||
.harness/build-ninja-msvc-release/
|
|
||||||
.harness/performance/
|
|
||||||
.harness/doxygen/
|
|
||||||
.harness/hook-state/
|
|
||||||
|
|
||||||
# phase execution outputs
|
# phase execution outputs
|
||||||
phases/**/phase*-output.json
|
phases/**/phase*-output.json
|
||||||
phases/**/step*-output.json
|
phases/**/step*-output.json
|
||||||
|
|||||||
+2
-2
@@ -5,7 +5,7 @@
|
|||||||
"name": "windows-msvc-ninja-debug",
|
"name": "windows-msvc-ninja-debug",
|
||||||
"displayName": "Windows MSVC x64 Debug (Ninja)",
|
"displayName": "Windows MSVC x64 Debug (Ninja)",
|
||||||
"generator": "Ninja",
|
"generator": "Ninja",
|
||||||
"binaryDir": "${sourceDir}/.harness/build-ninja-msvc-debug",
|
"binaryDir": "${sourceDir}/build/windows-msvc-ninja-debug",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Debug",
|
"CMAKE_BUILD_TYPE": "Debug",
|
||||||
"FESA_GTEST_SOURCE_DIR": "$env{FESA_GTEST_SOURCE_DIR}",
|
"FESA_GTEST_SOURCE_DIR": "$env{FESA_GTEST_SOURCE_DIR}",
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
"name": "windows-msvc-ninja-release",
|
"name": "windows-msvc-ninja-release",
|
||||||
"displayName": "Windows MSVC x64 Release with symbols (Ninja)",
|
"displayName": "Windows MSVC x64 Release with symbols (Ninja)",
|
||||||
"inherits": "windows-msvc-ninja-debug",
|
"inherits": "windows-msvc-ninja-debug",
|
||||||
"binaryDir": "${sourceDir}/.harness/build-ninja-msvc-release",
|
"binaryDir": "${sourceDir}/build/windows-msvc-ninja-release",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Release"
|
"CMAKE_BUILD_TYPE": "Release"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
PROJECT_NAME = FESA
|
PROJECT_NAME = FESA
|
||||||
PROJECT_NUMBER = 0.1.0
|
PROJECT_NUMBER = 0.1.0
|
||||||
OUTPUT_DIRECTORY = .harness/doxygen
|
OUTPUT_DIRECTORY = build/doxygen
|
||||||
INPUT = include src
|
INPUT = include src
|
||||||
EXCLUDE = tests
|
EXCLUDE = tests
|
||||||
RECURSIVE = YES
|
RECURSIVE = YES
|
||||||
|
|||||||
@@ -66,11 +66,11 @@ def test_p_style_001_cpp_style_and_doxygen_tooling_contract():
|
|||||||
assert doxyfile["INPUT"].split() == ["include", "src"]
|
assert doxyfile["INPUT"].split() == ["include", "src"]
|
||||||
assert doxyfile["EXCLUDE"].split() == ["tests"]
|
assert doxyfile["EXCLUDE"].split() == ["tests"]
|
||||||
assert doxyfile["WARN_AS_ERROR"] == "YES"
|
assert doxyfile["WARN_AS_ERROR"] == "YES"
|
||||||
assert doxyfile["OUTPUT_DIRECTORY"] == ".harness/doxygen"
|
assert doxyfile["OUTPUT_DIRECTORY"] == "build/doxygen"
|
||||||
assert doxyfile["HTML_OUTPUT"] == "html"
|
assert doxyfile["HTML_OUTPUT"] == "html"
|
||||||
|
|
||||||
gitignore_lines = read(ROOT / ".gitignore").splitlines()
|
gitignore_lines = read(ROOT / ".gitignore").splitlines()
|
||||||
assert ".harness/doxygen/" in gitignore_lines
|
assert "build/" in gitignore_lines
|
||||||
|
|
||||||
cmake = read(ROOT / "CMakeLists.txt")
|
cmake = read(ROOT / "CMakeLists.txt")
|
||||||
assert "find_package(Doxygen QUIET)" in cmake
|
assert "find_package(Doxygen QUIET)" in cmake
|
||||||
|
|||||||
Reference in New Issue
Block a user