homework03: add Makefile
This commit is contained in:
parent
ceb19b33c2
commit
8e5dd36491
1 changed files with 15 additions and 0 deletions
15
homework03/Makefile
Normal file
15
homework03/Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
test:
|
||||
@$(MAKE) -sk test-all
|
||||
|
||||
test-all: test-scripts test-weather test-zipcode
|
||||
|
||||
test-scripts:
|
||||
curl -sLO https://www3.nd.edu/~pbui/teaching/cse.20289.sp25/static/txt/homework03/test_weather.sh
|
||||
curl -sLO https://www3.nd.edu/~pbui/teaching/cse.20289.sp25/static/txt/homework03/test_zipcode.sh
|
||||
chmod +x test_*.sh
|
||||
|
||||
test-weather:
|
||||
./test_weather.sh
|
||||
|
||||
test-zipcode:
|
||||
./test_zipcode.sh
|
||||
Loading…
Reference in a new issue