From e2dc66e022fcf613b596fa29e5e93ab760d5b527 Mon Sep 17 00:00:00 2001 From: masx200 <34191203+masx200@users.noreply.github.com> Date: Tue, 11 Apr 2023 19:34:07 +0800 Subject: [PATCH 1/5] Update install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 5eda65bf..231ee7ab 100644 --- a/install.sh +++ b/install.sh @@ -28,5 +28,5 @@ sudo make install cd ~ mkdir cppmodules cd cppmodules -wget https://github.com/masx200/leetcode-treenode-cpp/archive/refs/tags/1.1.1.zip -unzip 1.1.1.zip +wget https://github.com/masx200/leetcode-treenode-cpp/archive/refs/tags/1.1.1.zip -v -o leetcode-treenode-cpp.zip +unzip leetcode-treenode-cpp.zip From 29a4c0bfe42e58cd9acad8402830542e2570041a Mon Sep 17 00:00:00 2001 From: masx200 <34191203+masx200@users.noreply.github.com> Date: Tue, 11 Apr 2023 19:35:11 +0800 Subject: [PATCH 2/5] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 231ee7ab..c7204925 100644 --- a/install.sh +++ b/install.sh @@ -28,5 +28,5 @@ sudo make install cd ~ mkdir cppmodules cd cppmodules -wget https://github.com/masx200/leetcode-treenode-cpp/archive/refs/tags/1.1.1.zip -v -o leetcode-treenode-cpp.zip +wget https://github.com/masx200/leetcode-treenode-cpp/archive/refs/tags/1.1.2.zip -v -o leetcode-treenode-cpp.zip unzip leetcode-treenode-cpp.zip From 9b1dfd780920e572db131e2ea993f4dd74c6587d Mon Sep 17 00:00:00 2001 From: masx200 <34191203+masx200@users.noreply.github.com> Date: Tue, 11 Apr 2023 19:52:19 +0800 Subject: [PATCH 3/5] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c7204925..1d4d6361 100644 --- a/install.sh +++ b/install.sh @@ -28,5 +28,5 @@ sudo make install cd ~ mkdir cppmodules cd cppmodules -wget https://github.com/masx200/leetcode-treenode-cpp/archive/refs/tags/1.1.2.zip -v -o leetcode-treenode-cpp.zip +wget -v -o leetcode-treenode-cpp.zip https://github.com/masx200/leetcode-treenode-cpp/archive/refs/tags/1.1.2.zip unzip leetcode-treenode-cpp.zip From eeab916c68050b4a439de4d829410134cf9952c8 Mon Sep 17 00:00:00 2001 From: masx200 <34191203+masx200@users.noreply.github.com> Date: Tue, 11 Apr 2023 20:05:28 +0800 Subject: [PATCH 4/5] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1d4d6361..3e513521 100644 --- a/install.sh +++ b/install.sh @@ -28,5 +28,5 @@ sudo make install cd ~ mkdir cppmodules cd cppmodules -wget -v -o leetcode-treenode-cpp.zip https://github.com/masx200/leetcode-treenode-cpp/archive/refs/tags/1.1.2.zip +wget -v --output-document=leetcode-treenode-cpp.zip https://github.com/masx200/leetcode-treenode-cpp/archive/refs/tags/1.1.2.zip unzip leetcode-treenode-cpp.zip From 13384064aed1d65578fdc08ebac31487b895e5c8 Mon Sep 17 00:00:00 2001 From: masx200 <34191203+masx200@users.noreply.github.com> Date: Tue, 11 Apr 2023 20:07:54 +0800 Subject: [PATCH 5/5] Update make.sh --- make.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make.sh b/make.sh index b162831f..7d5526de 100644 --- a/make.sh +++ b/make.sh @@ -1,10 +1,10 @@ -g++ ~/cppmodules/leetcode-treenode-cpp-1.1.1/*.cxx ./insert-into-a-binary-search-tree/test.cpp -fmodules-ts -l cppunit -I ./insert-into-a-binary-search-tree -v -c +g++ ~/cppmodules/leetcode-treenode-cpp-1.1.2/*.cxx ./insert-into-a-binary-search-tree/test.cpp -fmodules-ts -l cppunit -I ./insert-into-a-binary-search-tree -v -c -g++ ~/cppmodules/leetcode-treenode-cpp-1.1.1/*.cxx ./insert-into-a-binary-search-tree/test.cpp -fmodules-ts -l cppunit -o ./insert-into-a-binary-search-tree/test.bin -I ./insert-into-a-binary-search-tree -v +g++ ~/cppmodules/leetcode-treenode-cpp-1.1.2/*.cxx ./insert-into-a-binary-search-tree/test.cpp -fmodules-ts -l cppunit -o ./insert-into-a-binary-search-tree/test.bin -I ./insert-into-a-binary-search-tree -v g++ ./check-if-it-is-a-good-array/test.cpp -l gtest -o ./check-if-it-is-a-good-array/test.bin -I ./check-if-it-is-a-good-array -v -l pthread -g++ ./insufficient-nodes-in-root-to-leaf-paths/test.cpp ~/cppmodules/leetcode-treenode-cpp-1.1.1/*.cxx -fmodules-ts -l gtest -I ./insufficient-nodes-in-root-to-leaf-paths -v -l pthread -c +g++ ./insufficient-nodes-in-root-to-leaf-paths/test.cpp ~/cppmodules/leetcode-treenode-cpp-1.1.2/*.cxx -fmodules-ts -l gtest -I ./insufficient-nodes-in-root-to-leaf-paths -v -l pthread -c -g++ ./insufficient-nodes-in-root-to-leaf-paths/test.cpp ~/cppmodules/leetcode-treenode-cpp-1.1.1/*.cxx -fmodules-ts -l gtest -o ./insufficient-nodes-in-root-to-leaf-paths/test.bin -I ./insufficient-nodes-in-root-to-leaf-paths -v -l pthread +g++ ./insufficient-nodes-in-root-to-leaf-paths/test.cpp ~/cppmodules/leetcode-treenode-cpp-1.1.2/*.cxx -fmodules-ts -l gtest -o ./insufficient-nodes-in-root-to-leaf-paths/test.bin -I ./insufficient-nodes-in-root-to-leaf-paths -v -l pthread