From 9f89c0d3df24e848a45d9660fc332d9130494601 Mon Sep 17 00:00:00 2001 From: doylet Date: Mon, 8 Apr 2024 09:35:15 +1000 Subject: [PATCH] Add cmake scripts --- Linux/Scripts/cmake-3.29.1_env.sh | 6 ++++++ Linux/Scripts/cmake_env.sh | 13 +++++++++++++ Linux/Scripts/node_env.sh | 13 +++++++++++++ app_manifest_dev.py | 2 +- 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100755 Linux/Scripts/cmake-3.29.1_env.sh create mode 100755 Linux/Scripts/cmake_env.sh create mode 100755 Linux/Scripts/node_env.sh diff --git a/Linux/Scripts/cmake-3.29.1_env.sh b/Linux/Scripts/cmake-3.29.1_env.sh new file mode 100755 index 0000000..ee183bb --- /dev/null +++ b/Linux/Scripts/cmake-3.29.1_env.sh @@ -0,0 +1,6 @@ +#!/bin/bash +curr_script=$(realpath "${BASH_SOURCE[0]}") +path_to_add=${devenver_root}/CMake/3.29.1/bin +echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\" + +PATH=${path_to_add}:${PATH} $@ diff --git a/Linux/Scripts/cmake_env.sh b/Linux/Scripts/cmake_env.sh new file mode 100755 index 0000000..29d837f --- /dev/null +++ b/Linux/Scripts/cmake_env.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +curr_script=$(realpath "${BASH_SOURCE[0]}") +root_path=${devenver_root}/CMake +path_to_add=${root_path}/$1/bin + +if [ "$1" == "list" ]; then + ls ${root_path} +else + echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\" + PATH=${path_to_add}:${PATH} ${@:2} +fi + diff --git a/Linux/Scripts/node_env.sh b/Linux/Scripts/node_env.sh new file mode 100755 index 0000000..cc39a3b --- /dev/null +++ b/Linux/Scripts/node_env.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +curr_script=$(realpath "${BASH_SOURCE[0]}") +root_path=${devenver_root}/NodeJS +path_to_add=${root_path}/$1/bin + +if [ "$1" == "list" ]; then + ls ${root_path} +else + echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\" + PATH=${path_to_add}:${PATH} ${@:2} +fi + diff --git a/app_manifest_dev.py b/app_manifest_dev.py index 8408be5..4b48c75 100644 --- a/app_manifest_dev.py +++ b/app_manifest_dev.py @@ -90,7 +90,7 @@ def get_manifest(is_windows): exe_path = f"bin/cmake" download_url = f"https://github.com/Kitware/CMake/releases/download/v{version}/cmake-{version}-linux-x86_64.tar.gz" download_checksum = "751bbe7ccabb78179335a75b88999b1c52afcd4d8a4cd03217d367d8bb2c5100" - checksum = "aaa" + checksum = "0c771e1330fc34444dca0e39447332fb82169ab58b4335d8b6eec03917b7cab4" symlink = [f"cmake-{version}"] result[-1]['manifests'].append({