File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 steps :
2626 - uses : Dup4/actions-setup-gcc@v1
2727 - run : |
28- chmod +x https://raw.githubusercontent.com/MarufHasan24/mathlib-cpp/master/scripts/built.sh
29- https://raw.githubusercontent.com/MarufHasan24/mathlib-cpp/master/scripts/built.sh
28+ wget https://raw.githubusercontent.com/TheAlgorithms/scripts/main/built.sh
29+ chmod +x ./built.sh
30+ ./built.sh
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- path=" https://raw.githubusercontent.com/MarufHasan24/mathlib-cpp/master/"
3+ path=$( dirname $0 ) /..
4+ echo " Building all files in ${path} /test"
45for entry in ` ls ${path} /` ; do
56if [[ $entry == * " .cpp" ]]; then
67 if [ -f ${path} /test/${entry} ]; then
78 g++ ${path} /test/$entry -std=c++11 -o ${path} /test/out/${entry% .* } .out
8- echo " Successfullly built ${entry% .* } .out"
9+ echo " Successfully built ${entry% .* } .out"
910 else
1011 echo " No test file for ${entry% .* } .cpp"
1112 exit 1
You can’t perform that action at this time.
0 commit comments