Skip to content
Snippets Groups Projects
Commit 414f0fa3 authored by OTT Oceane's avatar OTT Oceane
Browse files

commit workflows

parent 31adf426
Branches
Tags
No related merge requests found
# Makefile pour enchaîner deux scripts
# Cible par défaut (si 'make' est appelé sans argument)
all: tp1_output.txt
# Première étape : exécuter download_data.R
download_data_output.txt: ~/tp1ara/src/download_data.R
@echo "Running download_data.R..."
@Rscript ~/tp1ara/src/download_data.R > download_data_output.txt
@echo "download_data.R completed and output stored in download_data_output.txt."
# Deuxième étape : exécuter tp1.R en utilisant le résultat du premier script
tp1_output.txt: download_data_output.txt ~/tp1ara/src/tp1.R
@echo "Running tp1.R..."
@Rscript ~/tp1ara/src/tp1.R > tp1_output.txt
@echo "tp1.R completed and output stored in tp1_output.txt."
# Nettoyer les fichiers générés
clean:
@rm -f download_data_output.txt tp1_output.txt
@echo "Cleaned up output files."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment