diff --git a/install.sh b/install.sh index 5eda65bf..3e513521 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 -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 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