mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Restructure directory, add 'pkgs' folder now
This commit is contained in:
parent
a1aafb9648
commit
3cefaf5ad8
0
CONTRIB.md
Normal file
0
CONTRIB.md
Normal file
6
Makefile
6
Makefile
@ -3,10 +3,12 @@
|
|||||||
all: test install
|
all: test install
|
||||||
|
|
||||||
build-erasure:
|
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
|
godep go test -race -coverprofile=cover.out github.com/minio-io/minio
|
||||||
|
|
||||||
install: build-erasure
|
install: build-erasure
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
"github.com/minio-io/minio/erasure"
|
"github.com/minio-io/minio/pkgs/erasure"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
"github.com/minio-io/minio/erasure"
|
"github.com/minio-io/minio/pkgs/erasure"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
|
|
||||||
package erasure
|
package erasure
|
||||||
|
|
||||||
// #cgo CPPFLAGS: -Iisal/include
|
// #cgo CPPFLAGS: -I./isal/include
|
||||||
// #cgo LDFLAGS: isal/isa-l.a
|
// #cgo LDFLAGS: ./isal/isa-l.a
|
||||||
// #include <stdlib.h>
|
// #include <stdlib.h>
|
||||||
// #include <erasure-code.h>
|
// #include <erasure-code.h>
|
||||||
// #include <stdlib.h>
|
// #include <stdlib.h>
|
8
pkgs/signify/Makefile
Normal file
8
pkgs/signify/Makefile
Normal 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
Loading…
Reference in New Issue
Block a user