Skip to content

Commit

Permalink
Add Makefile and install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Jan 2, 2020
1 parent b34fef6 commit f823212
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/minify/Makefile
@@ -0,0 +1,9 @@
SHELL=/bin/bash

install:
go build -ldflags "-X 'main.Version=devel' -X 'main.Commit=$(shell git rev-list -1 HEAD)' -X 'main.Date=$(shell date)'" -o minify

source minify_bash_tab_completion

clean:
rm minify
5 changes: 5 additions & 0 deletions cmd/minify/install.sh
@@ -0,0 +1,5 @@
#!/bin/bash

go install -ldflags "-X 'main.Version=devel' -X 'main.Commit=$(git rev-list -1 HEAD)' -X 'main.Date=$(date)'"

source minify_bash_tab_completion

0 comments on commit f823212

Please sign in to comment.