chore: add imgur api
This commit is contained in:
5
Makefile
5
Makefile
@@ -3,8 +3,9 @@ export HTTP_LISTEN=:8085
|
||||
export PASTE_STORE=data/paste/
|
||||
export ARTIFACT_STORE=data/artifact/
|
||||
export IMAGE_STORE=data/image/
|
||||
export CGO_ENABLED=0
|
||||
|
||||
SOURCE=$(wildcard v2/*.go) $(wildcard v2/paste/*.go) $(wildcard assets/*.go)
|
||||
SOURCE=$(wildcard *.go) $(wildcard paste/*.go) $(wildcard assets/*.go)
|
||||
ASSETS=$(wildcard assets/*) $(wildcard assets/public/*) $(wildcard assets/src/*) $(wildcard assets/src/paste/*)
|
||||
ASSET_FILE=assets/build/index.html
|
||||
BINARY=sour.is-paste
|
||||
@@ -30,7 +31,7 @@ ${ASSET_FILE}: $(ASSETS)
|
||||
|
||||
build: $(BINARY)
|
||||
$(BINARY): $(SOURCE) $(ASSET_FILE)
|
||||
go build -o $(BINARY) ./v2
|
||||
go build -o $(BINARY) .
|
||||
|
||||
.PHONEY: all clean build run setup
|
||||
# DO NOT DELETE
|
||||
|
||||
Reference in New Issue
Block a user