📜 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
651 B
38 lines
651 B
.PHONY: dev build install image test release clean |
|
|
|
CGO_ENABLED=0 |
|
VERSION=$(shell git describe --abbrev=0 --tags) |
|
COMMIT=$(shell git rev-parse --short HEAD) |
|
|
|
all: dev |
|
|
|
dev: build |
|
@./rss2twtxt -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/rss2twtxt \ |
|
. |
|
@docker push r.mills.io/prologic/rss2twtxt |
|
|
|
test: install |
|
@go test |
|
|
|
release: |
|
@./tools/release.sh |
|
|
|
clean: |
|
@git clean -f -d -X
|
|
|