commit b5f77bd89dbdd02d7bd698cde30f3ea86ed4d49b
parent 70cb88141afa420a4460eca93b150416eeb1b382
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 19 Jul 2024 08:26:45 +0200
Version star-cpr build script to 0.5
Add it to the "lint" target of the Makefile
Diffstat:
4 files changed, 35 insertions(+), 34 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -56,6 +56,7 @@ lint:
shellcheck -o all -x -P src src/star-camera_0.2.sh
shellcheck -o all -x -P src src/star-ck_0.1.sh
shellcheck -o all -x -P src src/star-cmap_0.1.sh
+ shellcheck -o all -x -P src src/star-cpr_0.5.sh
shellcheck -o all -x -P src src/star-enclosures-2d_0.6.sh
shellcheck -o all -x -P src src/star-enclosures-3d_0.7.2.sh
shellcheck -o all -x -P src src/star-engine_0.15.sh
diff --git a/src/city_generator2_0.3.sh b/src/city_generator2_0.3.sh
@@ -25,7 +25,7 @@ export CITY_GENERATOR2=1
. "libcyaml_1.4.1.sh"
. "star-stl_0.5.sh"
. "star-cad_0.5.sh"
-. "star-cpr.sh"
+. "star-cpr_0.5.sh"
name="city_generator2"
url="$\(REPO\)/city_generator2.git"
diff --git a/src/star-cpr.sh b/src/star-cpr.sh
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-# Copyright (C) 2023, 2024 |Méso|Star> (contact@meso-star.com)
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-set -e
-
-[ -n "${STAR_CPR_SH}" ] && return
-export STAR_CPR_SH=1
-
-. "build.sh"
-. "clipper2_1.1.1.sh"
-. "polygon_0.2.sh"
-. "rsys_0.14.sh"
-
-name="star-cpr"
-url="$\(REPO\)/star-cpr.git"
-tag="origin/develop"
-dep="clipper2 polygon rsys"
-opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
-git_repo
diff --git a/src/star-cpr_0.5.sh b/src/star-cpr_0.5.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+# Copyright (C) 2023, 2024 |Méso|Star> (contact@meso-star.com)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+set -e
+
+[ -n "${STAR_CPR_SH}" ] && return
+export STAR_CPR_SH=1
+
+. "build.sh"
+. "clipper2_1.1.1.sh"
+. "polygon_0.2.sh"
+. "rsys_0.14.sh"
+
+name="star-cpr"
+url="$\(REPO\)/star-cpr.git"
+tag="0.5"
+dep="clipper2 polygon rsys"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo