Restructure directory, add 'pkgs' folder now

This commit is contained in:
Harshavardhana 2014-11-24 15:10:25 -08:00
parent a1aafb9648
commit 3cefaf5ad8
128 changed files with 50 additions and 7 deletions

0
CONTRIB.md Normal file
View File

View File

@ -3,10 +3,12 @@
all: test install
build-erasure:
cd erasure && make
cd pkgs/erasure && make
build-signify:
cd pkgs/signify && make
test: build-erasure
test: build-erasure build-signify
godep go test -race -coverprofile=cover.out github.com/minio-io/minio
install: build-erasure

View File

@ -7,7 +7,7 @@ import (
"strconv"
"github.com/codegangsta/cli"
"github.com/minio-io/minio/erasure"
"github.com/minio-io/minio/pkgs/erasure"
)
func main() {

View File

@ -7,7 +7,7 @@ import (
"strconv"
"github.com/codegangsta/cli"
"github.com/minio-io/minio/erasure"
"github.com/minio-io/minio/pkgs/erasure"
)
func main() {

2
isal
View File

@ -1 +1 @@
erasure/isal
pkgs/erasure/isal

View File

@ -19,8 +19,8 @@
package erasure
// #cgo CPPFLAGS: -Iisal/include
// #cgo LDFLAGS: isal/isa-l.a
// #cgo CPPFLAGS: -I./isal/include
// #cgo LDFLAGS: ./isal/isa-l.a
// #include <stdlib.h>
// #include <erasure-code.h>
// #include <stdlib.h>

8
pkgs/signify/Makefile Normal file
View File

@ -0,0 +1,8 @@
all: build
.PHONY: all
libsignify/libsignify_static.a:
@$(MAKE) -C libsignify libsignify_static.a
build: libsignify/libsignify_static.a
@godep go build

Some files were not shown because too many files have changed in this diff Show More