command
module
Version:
v0.0.0-...-a20643d
Opens a new window with list of versions in this module.
Published: Sep 9, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
makeDog
A golang tool can auto create Makefile
Usage
Usage of makeDog:
-name string
The binary name
Makefile
The default makefile content is :
.PHONY: build
name = {{Name}}
build:
go build -ldflags "-X main._VERSION_=$(shell date +%Y%m%d-%H%M%S)" -o $(name)
run: build
./$(name)
release: *.go *.md
GOOS=linux GOARCH=amd64 go build -ldflags "-X main._VERSION_=$(shell date +%Y%m%d)" -a -o $(name)
docker build -t vikings/$(name) .
docker push vikings/$(name)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.