From 9b66afe3d73ff1568073ff9ac43f79b7107bf91a Mon Sep 17 00:00:00 2001 From: yamacir-kit Date: Fri, 13 Sep 2024 00:57:43 +0900 Subject: [PATCH] Remove the code that directly uses `dpkg` from `update.sh` Signed-off-by: yamacir-kit --- CMakeLists.txt | 3 ++- README.md | 6 +++--- VERSION | 2 +- script/update.sh | 5 ----- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 33731bd99..cc3ed5b19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -248,5 +248,6 @@ else() COMMAND ${CMAKE_MAKE_PROGRAM} -j${${PROJECT_NAME}_NCPU} COMMAND ${CMAKE_MAKE_PROGRAM} test ARGS=-j${${PROJECT_NAME}_NCPU} COMMAND ${CMAKE_MAKE_PROGRAM} package - COMMAND sudo installer -pkg ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-${PROJECT_VERSION}.pkg -target $ENV{HOME}) + # COMMAND sudo installer -pkg ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-${PROJECT_VERSION}.pkg -target $ENV{HOME} + ) endif() diff --git a/README.md b/README.md index e8210a898..3a457d4c2 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ Procedures for each standard are provided by the following R7RS-style libraries: cmake -B build -DCMAKE_BUILD_TYPE=Release cd build make package -sudo apt install build/meevax_0.5.236_amd64.deb +sudo apt install build/meevax_0.5.237_amd64.deb ``` or @@ -122,9 +122,9 @@ sudo rm -rf /usr/local/share/meevax | Target Name | Description |-------------|------------- -| `all` | Build shared-library `libmeevax.0.5.236.so` and executable `meevax` +| `all` | Build shared-library `libmeevax.0.5.237.so` and executable `meevax` | `test` | Test executable `meevax` -| `package` | Generate debian package `meevax_0.5.236_amd64.deb` +| `package` | Generate debian package `meevax_0.5.237_amd64.deb` | `install` | Copy files into `/usr/local` directly ## Usage diff --git a/VERSION b/VERSION index 7bc1e009c..3eaf9672b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.5.236 +0.5.237 diff --git a/script/update.sh b/script/update.sh index a1d92b6f3..680d487c5 100755 --- a/script/update.sh +++ b/script/update.sh @@ -13,11 +13,6 @@ build() echo "0.5.$(($(git rev-list --no-merges --count HEAD) - 3681))" > "$root/VERSION" -if dpkg --status meevax -then - sudo dpkg --purge meevax -fi - build "$root" "$@" build "$root/example" "$@"