From 35457beb65390fd4c898524d2f94c0c0d9ea21fb Mon Sep 17 00:00:00 2001 From: kr rt Date: Sat, 4 Jan 2025 13:01:46 +0300 Subject: [PATCH] release ? --- scipts/arm-none-edabi-install.sh | 4 +++- scipts/cppcheck-install.sh | 10 ++++++---- scipts/cpputest-install.sh | 11 ++++++----- scipts/doxygen-install.sh | 4 +++- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/scipts/arm-none-edabi-install.sh b/scipts/arm-none-edabi-install.sh index 4fab109..386a737 100755 --- a/scipts/arm-none-edabi-install.sh +++ b/scipts/arm-none-edabi-install.sh @@ -1,5 +1,7 @@ +#!/bin/bash + apt-get install -y wget tar bzip2 wget "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2" tar -jxf ./*.tar.bz2 rm ./*.tar.bz2 -echo "export PATH=\$PATH:./gcc-arm-none-eabi-10.3-2021.10/bin/" >> ~/.bashrc +echo "export PATH=\$PATH:/app/gcc-arm-none-eabi-10.3-2021.10/bin/" >> ~/.bashrc diff --git a/scipts/cppcheck-install.sh b/scipts/cppcheck-install.sh index fab8b9d..80c3b64 100755 --- a/scipts/cppcheck-install.sh +++ b/scipts/cppcheck-install.sh @@ -1,9 +1,11 @@ +#!/bin/bash + apt-get install -y wget g++ python3 tar bzip2 make libghc-regex-pcre-dev -wget https://github.com/danmar/cppcheck/archive/2.14.1.tar.gz -tar -xvf ./2.14.1.tar.gz -rm ./2.14.1.tar.gz +wget https://github.com/danmar/cppcheck/archive/2.10.tar.gz +tar -xvf ./2.10.tar.gz +rm ./2.10.tar.gz mkdir /usr/share/cppcheck -cd ./cppcheck-2.14.1/ +cd ./cppcheck-2.10/ make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function" make install FILESDIR=/usr/share/cppcheck cd .. diff --git a/scipts/cpputest-install.sh b/scipts/cpputest-install.sh index c39366a..bc5aadd 100755 --- a/scipts/cpputest-install.sh +++ b/scipts/cpputest-install.sh @@ -1,8 +1,9 @@ +#!/bin/bash + apt-get install -y g++ make git autoconf libtool git clone https://github.com/cpputest/cpputest.git cd cpputest -mkdir cpputest_build -cd cpputest_build -autoreconf .. -i -../configure -make \ No newline at end of file +autoreconf -i +./configure +make +echo "export CPPUTEST=/app/cpputest" >> ~/.bashrc \ No newline at end of file diff --git a/scipts/doxygen-install.sh b/scipts/doxygen-install.sh index 52feb5d..5bdace8 100755 --- a/scipts/doxygen-install.sh +++ b/scipts/doxygen-install.sh @@ -1,5 +1,7 @@ +#!/bin/bash + apt-get install -y wget tar bzip2 wget https://www.doxygen.nl/files/doxygen-1.11.0.linux.bin.tar.gz tar -xvf ./doxygen-1.11.0.linux.bin.tar.gz rm ./doxygen-1.11.0.linux.bin.tar.gz -echo "export PATH=\$PATH:./doxygen-1.11.0/bin/" >> ~/.bashrc +echo "export PATH=\$PATH:/app/doxygen-1.11.0/bin/" >> ~/.bashrc