📜 feeds is a multi-protocol / multi-platform feed aggregation service that produces twtxt feeds for consumption by twtxt clients. https://feeds.twtxt.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
688 B

.PHONY: dev build install image test release clean
VERSION=$(shell git describe --abbrev=0 --tags 2>/dev/null || echo "$VERSION")
COMMIT=$(shell git rev-parse --short HEAD || echo "$COMMIT")
CGO_ENABLED=0
all: dev
dev: build
@./feeds -v
build:
@go build \
-tags "netgo static_build" -installsuffix netgo \
-ldflags "-w \
-X main.Version=$(VERSION) \
-X main.Commit=$(COMMIT)" \
.
install: build
@go install
image:
@docker build \
--build-arg VERSION="$(VERSION)" \
--build-arg COMMIT="$(COMMIT)" \
-t r.mills.io/prologic/feeds \
.
@docker push r.mills.io/prologic/feeds
test: install
@go test
release:
@./tools/release.sh
clean:
@git clean -f -d -X