remove run scripts, add makefiles

This commit is contained in:
onyx-and-iris 2023-12-15 12:32:39 +00:00
parent 6a65b04ee8
commit b2819a20dd
23 changed files with 110 additions and 60 deletions

10
day-1/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

10
day-10/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

10
day-11/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

10
day-2/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

10
day-3/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

10
day-4/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

10
day-5/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

10
day-6/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

10
day-7/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

10
day-8/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .

10
day-9/makefile Normal file
View File

@ -0,0 +1,10 @@
TEST="test.txt"
INPUT="input.txt"
test:
cat $(TEST) | go run .
run:
cat $(INPUT) | go run .
all: test

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
INPUT="input.txt"
cat $INPUT | go run .