Generate an RSS feed from a config file and an mp3 file.
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.
 
 
 
 
 

13 lines
615 B

version=`cat VERSION`
all: build
build:
go build -ldflags "-X 'gitlab.com/iarenzana/feeder/cmd.ApplicationVersion=$(version)'"
install:
go install -ldflags "-X 'gitlab.com/iarenzana/feeder/cmd.ApplicationVersion=$(version)'"
buildall:
env GOOS=darwin GOARCH=amd64 go build -ldflags "-X 'gitlab.com/iarenzana/feeder/cmd.ApplicationVersion=$(version)'" -o yessir_darwin_amd64
env GOOS=linux GOARCH=amd64 go build -ldflags "-X 'gitlab.com/iarenzana/feeder/cmd.ApplicationVersion=$(version)'" -o yessir_linux_amd64
docker:
docker build -t iarenzana/feeder:$(version) -t iarenzana/feeder:latest .
clean:
rm yessir