-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
41 lines (33 loc) · 781 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Set AOC environment
set dotenv-load
# List available commands
default:
@just --list
# Open puzzle in browser
open *args='':
#!/usr/bin/env bash
HOME=$PWD mix aoc.open {{args}}
# Create new puzzle files
create *args='':
#!/usr/bin/env bash
HOME=$PWD mix aoc.create {{args}}
# Run tests for puzzle
test *args='':
#!/usr/bin/env bash
HOME=$PWD mix aoc.test {{args}}
# Run solution
run *args='':
#!/usr/bin/env bash
HOME=$PWD mix aoc.run {{args}}
# Fetch puzzle input
fetch *args='':
#!/usr/bin/env bash
HOME=$PWD mix aoc.fetch {{args}}
# Get puzzle URL
url *args='':
#!/usr/bin/env bash
HOME=$PWD mix aoc.url {{args}}
# Set default year/day
set-default *args='':
#!/usr/bin/env bash
HOME=$PWD mix aoc.set {{args}}