Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
new just command "Check";
Browse files Browse the repository at this point in the history
Compile the C code in "code/"
  • Loading branch information
jaoleal committed Aug 12, 2024
1 parent 1444de8 commit 64fb094
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ watch:
@echo "Watching slides"
typst w slides.typ

# Compile and Run the C code
c:
@echo "Compiling and Running the C code"
@echo "TODO!"
# Compile the C code in "code/"
check:
#!/usr/bin/env bash
echo "compiling all *.c code to output"
rm -r ./output;mkdir ./output
for FILE in $(ls ./solutions/)
do
cc ./solutions/$FILE -o ./output/$FILE.out
done

0 comments on commit 64fb094

Please sign in to comment.