Bump to version 1.1.0.
- remove debug output - add scripts, README, Containerfiles, and LICENSE to install.
This commit is contained in:
parent
6a353e811a
commit
a0b6d45c8a
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(sc3dev
|
project(sc3dev
|
||||||
VERSION 1.0.0
|
VERSION 1.1.0
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
HOMEPAGE_URL "https://git.wntrmute.dev/sc/sc3dev"
|
HOMEPAGE_URL "https://git.wntrmute.dev/sc/sc3dev"
|
||||||
DESCRIPTION "")
|
DESCRIPTION "")
|
||||||
|
@ -55,6 +55,9 @@ set(SOURCES
|
||||||
src/Generic.cc
|
src/Generic.cc
|
||||||
)
|
)
|
||||||
|
|
||||||
|
file(GLOB SCRIPTS *.sh)
|
||||||
|
file(GLOB_RECURSE CONTAINERFILES Containerfile*)
|
||||||
|
|
||||||
include_directories(SYSTEM include)
|
include_directories(SYSTEM include)
|
||||||
include_directories(SYSTEM ${CURLPP_INCLUDE_DIRS})
|
include_directories(SYSTEM ${CURLPP_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
|
|
@ -6,12 +6,14 @@ used across shimmering clarity projects.
|
||||||
|
|
||||||
### Scripts
|
### Scripts
|
||||||
|
|
||||||
|
|
||||||
- `build-all-containers.sh` automates building all supported containers.
|
- `build-all-containers.sh` automates building all supported containers.
|
||||||
- `build-container.sh` automated building and pushing a container.
|
- `build-container.sh` automated building and pushing a container.
|
||||||
- `check-code.sh` wraps several code scanning tools.
|
- `check-code.sh` wraps several code scanning tools.
|
||||||
- `cmake-build-and-test.sh` sets up cmake projects building a
|
- `cmake-build-and-test.sh` sets up cmake projects building a
|
||||||
RelWithDebInfo config.
|
RelWithDebInfo config.
|
||||||
|
- `cmake-package.sh` packages the project and uploads it.
|
||||||
|
- `cmake-valgrind.sh` run valgrind over all test targets.
|
||||||
|
- `container-setup.sh` is the root script for setting up containers.
|
||||||
- `install-cmake-debian.sh` install the latest CMake on Debian-based
|
- `install-cmake-debian.sh` install the latest CMake on Debian-based
|
||||||
systems.
|
systems.
|
||||||
- `install-development-tools.sh` installs the tools needed to build and
|
- `install-development-tools.sh` installs the tools needed to build and
|
||||||
|
@ -30,3 +32,7 @@ used across shimmering clarity projects.
|
||||||
- alpine: (Alpine 3.18) a minimal image, suitable for CI
|
- alpine: (Alpine 3.18) a minimal image, suitable for CI
|
||||||
- debian: (Debian 12.2) verify Debian installation
|
- debian: (Debian 12.2) verify Debian installation
|
||||||
- fedora: (Fedora 38) verify Fedora installation
|
- fedora: (Fedora 38) verify Fedora installation
|
||||||
|
|
||||||
|
### Programs
|
||||||
|
|
||||||
|
- `sc3dev-packager`: interact with Gitea package repositories.
|
||||||
|
|
|
@ -18,5 +18,6 @@ include(CMakePackageConfigHelpers)
|
||||||
|
|
||||||
install(TARGETS ${PROJECT_NAME}-packager RUNTIME DESTINATION bin)
|
install(TARGETS ${PROJECT_NAME}-packager RUNTIME DESTINATION bin)
|
||||||
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man DESTINATION share)
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man DESTINATION share)
|
||||||
|
install(FILES ${SCRIPTS} DESTINATION share/sc/scripts)
|
||||||
|
install(FILES ${CONTAINERFILES} DESTINATION share/sc/containers)
|
||||||
|
install(FILES README.md LICENSE DESTINATION share/sc)
|
|
@ -42,7 +42,6 @@ debianEndpoint(std::string endpoint)
|
||||||
endpoint.insert(endpoint.cbegin(), '/');
|
endpoint.insert(endpoint.cbegin(), '/');
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cerr << "owner: " << scsl::SimpleConfig::GetGlobal("owner", defaultOwner) << "\n";
|
|
||||||
auto urlBase = "https://" + scsl::SimpleConfig::GetGlobal("server");
|
auto urlBase = "https://" + scsl::SimpleConfig::GetGlobal("server");
|
||||||
return urlBase + "/api/packages/" +
|
return urlBase + "/api/packages/" +
|
||||||
scsl::SimpleConfig::GetGlobal("owner", defaultOwner) +
|
scsl::SimpleConfig::GetGlobal("owner", defaultOwner) +
|
||||||
|
|
|
@ -41,7 +41,6 @@ genericEndpoint(std::string endpoint)
|
||||||
endpoint.insert(endpoint.cbegin(), '/');
|
endpoint.insert(endpoint.cbegin(), '/');
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cerr << "owner: " << scsl::SimpleConfig::GetGlobal("owner", defaultOwner) << "\n";
|
|
||||||
auto urlBase = "https://" + scsl::SimpleConfig::GetGlobal("server");
|
auto urlBase = "https://" + scsl::SimpleConfig::GetGlobal("server");
|
||||||
return urlBase + "/api/packages/" +
|
return urlBase + "/api/packages/" +
|
||||||
scsl::SimpleConfig::GetGlobal("owner", defaultOwner) +
|
scsl::SimpleConfig::GetGlobal("owner", defaultOwner) +
|
||||||
|
|
Loading…
Reference in New Issue