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

Commit

Permalink
Merge pull request #6 from jaoleal/main
Browse files Browse the repository at this point in the history
Fix: check on justfile
  • Loading branch information
storopoli authored Aug 16, 2024
2 parents ad6a446 + 915e4c9 commit 71d4af2
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/"
compile:
#!/usr/bin/env bash
echo "Compiling all *.c code to output"
rm -r ./output;mkdir ./output
for FILE in $(ls ./code/)
do
cc ./code/$FILE -o ./output/$FILE.out
done

0 comments on commit 71d4af2

Please sign in to comment.