Skip to content

Commit

Permalink
change the struct
Browse files Browse the repository at this point in the history
  • Loading branch information
whalecold committed Sep 26, 2018
1 parent 456324c commit 81f3888
Show file tree
Hide file tree
Showing 119 changed files with 10,008 additions and 3,189 deletions.
Binary file removed .DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*.exe
pkg/*
_output/*
bin/*
.idea/*
data/*
data/*
.DS_Store/*
Empty file removed LICENSE
Empty file.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@

COMPILER=go
GOBIN=compress

TARGET=edm
OUT_DIR=bin
MAIN_DIR=cmd

# These are the values we want to pass for VERSION and BUILD
VERSION=1.0.0
BUILD=`date +%FT%T%z`
# Setup the -Idflags options for go build here,interpolate the variable values
LDFLAGS=-ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD}"
LDFLAGS=-ldflags "-X ./pkg/version/version.VERSION=${VERSION}"

build:
$(COMPILER) build ${LDFLAGS}
$(COMPILER) build -o ${OUT_DIR}/${TARGET} ${LDFLAGS} ${MAIN_DIR}/${TARGET}/main.go

clean:
$(COMPILER) clean
rm -rf $(OUT_DIR)/*

.PHONY: build clean

312 changes: 0 additions & 312 deletions algorithm/huffman/chunk.go

This file was deleted.

Loading

0 comments on commit 81f3888

Please sign in to comment.