From 3a254272979855edcc84880075eb90be54021fe4 Mon Sep 17 00:00:00 2001 From: Kemal Hadimli Date: Thu, 1 Dec 2016 13:02:52 +0300 Subject: [PATCH] Change package naming --- Makefile | 4 +++- error.go | 2 +- job.go | 2 +- job_test.go | 2 +- cmd/s5cmd/main.go => main.go | 19 +++++++++---------- operation.go | 2 +- parse.go | 2 +- parse_test.go | 8 ++++---- s3.go | 2 +- scan.go | 2 +- stats.go | 2 +- worker.go | 2 +- 12 files changed, 25 insertions(+), 24 deletions(-) rename cmd/s5cmd/main.go => main.go (92%) diff --git a/Makefile b/Makefile index 0a1085ad8..79a697ee8 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ +BINS=s5cmd + include go.mk -s5cmd: ${SRCDIR}/cmd/s5cmd/main.go ${SRCDIR}/*.go +s5cmd: ${SRCDIR}/*.go ${GOROOT}/bin/go build ${GCFLAGS} -ldflags "${LDFLAGS}" ./$(