Skip to content

Commit 9773bf3

Browse files
authored
Merge branch 'master' into updatedlength
2 parents 3f26423 + 3c9629e commit 9773bf3

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/Ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ jobs:
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

scripts/built.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
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"
45
for entry in `ls ${path}/`; do
56
if [[ $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

0 commit comments

Comments
 (0)