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.
riffraff/makefile

89 lines
1.9 KiB

5 years ago
APP := riffraff
5 years ago
OUTDIR := .bin
TMPDIR := .tmp
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
PKGS := $(shell go list ./... | grep -v vendor)
5 years ago
GIT_SHA := $(shell git rev-parse HEAD)
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
VERSION := $(shell git describe)
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
GOBIN := $(GOPATH)/bin
LINTBIN := $(GOBIN)/golangci-lint
BINARY := $(OUTDIR)/$(app)
5 years ago
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
define SHORTCUT_DATA
{
"shortcuts": {
"*": "https://duckduckgo.com/%s",
"fb": "https://facebook.com",
"gh": "https://github.com",
"gitemoji": "https://www.webfx.com/tools/emoji-cheat-sheet/"
}
}
endef
export SHORTCUT_DATA
5 years ago
dev: clean $(BINARY)-dev
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
./$(BINARY)-dev -port 8080 -accesslog=true -data=data.json
5 years ago
package-run: package
@docker run -it --rm --name riffraff -u 1000:1000 -p 8080:8080 -v $$PWD/.tmp:/data vdhsn/$(APP):$(GIT_SHA)
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
test: lint
5 years ago
go test -v -cover $(PKGS)
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
lint: $(LINTBIN)
5 years ago
@$(LINTBIN) run -p format -p unused -p bugs -p performance
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
$(LINTBIN):
5 years ago
@GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint
5 years ago
package:
5 years ago
@docker build --build-arg VERSION=$(VERSION) \
--build-arg COMMIT=$(GIT_SHA) \
-t vdhsn/$(APP):$(VERSION) .
@docker tag vdhsn/$(APP):$(VERSION) vdhsn/$(APP):$(GIT_SHA)
@docker tag vdhsn/$(APP):$(VERSION) vdhsn/$(APP):$(GIT_BRANCH)
docker images | grep 'vdhsn/$(APP)'
5 years ago
publish: package
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
docker push vdhsn/$(APP):$(VERSION)
docker push vdhsn/$(APP):$(GIT_BRANCH)
5 years ago
5 years ago
release: tag package publish
@docker tag vdhsn/$(APP):$(GIT_BRANCH) vdhsn/$(APP):$${TAG}
docker push vdhsn/$(APP):$${TAG}
show-versions:
5 years ago
@git tag --merged refs/heads/master
tag:
4 years ago
git tag -as $${TAG}
5 years ago
clean:
rm -rf $(OUTDIR)
clobber: clean
rm -rf $(TMPDIR)
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
build: $(BINARY)
5 years ago
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
$(OUTDIR):
5 years ago
@mkdir $@
$(TMPDIR):
@mkdir $@
5 years ago
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
$(BINARY): packr .bin
5 years ago
@packr build -o $@ -v .
5 years ago
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
$(BINARY)-dev: .bin
5 years ago
@go build -o $@ -v .
Squashed commit of the following: commit aa1027292e91b55766e952da34e26a8d7338a64f Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:53:21 2019 -0600 tweak into text commit 8b1945df7e840e54a8472e6b75ec5293bbd89ac4 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:35 2019 -0600 make -accessLog flag actually work commit 685a2896abd15b560866b8f946b9296e5100c447 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 09:31:07 2019 -0600 update formatting with gofmt, and fix lint errors commit 6a74c5f9f06a442257d28c7aa98e09393d995b03 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 08:24:58 2019 -0600 add data generation, version tagging vars to build process commit 5822152537ae812e4bceb98dc5d202906d301749 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Tue Nov 19 07:49:22 2019 -0600 add saving shortcuts to local db file commit cb21c3a49844f5aa584007fa16d32a66ab302c32 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 23:51:21 2019 -0600 added bind address flag commit 547bec5eb7f8b98f775a7ae905f80c0328264cf6 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 22:37:06 2019 -0600 refactor shortcut code to be a little nicer commit 15667ca70456d22c4dead0a4c5740876b91ec712 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:48:06 2019 -0600 add some stubs for saving user updates to a data file commit 4e74fd955b941a8a054160b8416e92fd75550a06 Author: Adam Veldhousen <adam.veldhousen@liveauctioneers.com> Date: Mon Nov 18 00:30:29 2019 -0600 added config file loading, fixed bug with search shortcuts
5 years ago
data.json:
@echo "$${SHORTCUT_DATA}" > data.json
5 years ago
packr:
go get -u github.com/gobuffalo/packr/packr
.PHONY: build clean clobber dev lint package package-run publish packr show-versions tag test