More basic setup lol

This commit is contained in:
xenia 2020-04-10 19:07:45 -04:00
parent ae1c6cbeb2
commit 22d6f54fa5
2 changed files with 12 additions and 1 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
.setup
*.rkt~
*.swp
.env
.envrc

View File

@ -1,4 +1,4 @@
.PHONY: all test
.PHONY: all test run
all: .setup
raco setup smol-http
@ -7,6 +7,15 @@ all: .setup
test: .setup
raco test -p smol-http
run: all
ifndef FB_USERNAME
$(error "Provide FB_USERNAME variable")
endif
ifndef FB_PASSWORD
$(error "Provide FB_PASSWORD variable")
endif
./webcrawler $(USERNAME) $(PASSWORD)
.setup:
raco pkg install smol-http/
@touch $@