mirror of
https://github.com/onyx-and-iris/aoc2023.git
synced 2024-11-21 18:00:47 +00:00
remove run scripts, add makefiles
This commit is contained in:
parent
6a65b04ee8
commit
b2819a20dd
10
day-1/makefile
Normal file
10
day-1/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
10
day-10/makefile
Normal file
10
day-10/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
10
day-11/makefile
Normal file
10
day-11/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
10
day-2/makefile
Normal file
10
day-2/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
10
day-3/makefile
Normal file
10
day-3/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
10
day-4/makefile
Normal file
10
day-4/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
10
day-5/makefile
Normal file
10
day-5/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
10
day-6/makefile
Normal file
10
day-6/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
10
day-7/makefile
Normal file
10
day-7/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
10
day-8/makefile
Normal file
10
day-8/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
10
day-9/makefile
Normal file
10
day-9/makefile
Normal file
@ -0,0 +1,10 @@
|
||||
TEST="test.txt"
|
||||
INPUT="input.txt"
|
||||
|
||||
test:
|
||||
cat $(TEST) | go run .
|
||||
|
||||
run:
|
||||
cat $(INPUT) | go run .
|
||||
|
||||
all: test
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
INPUT="input.txt"
|
||||
|
||||
cat $INPUT | go run .
|
Loading…
Reference in New Issue
Block a user