added make install
This commit is contained in:
3
Makefile
3
Makefile
@@ -1,7 +1,8 @@
|
||||
SHELL := /bin/bash
|
||||
|
||||
install:
|
||||
$(shell mkdir /etc/p2p-rendering && chmod +r /etc/p2p-rendering && touch /etc/p2p-rendering/ip_table.json)
|
||||
go build .
|
||||
./p2p-rendering-computation --SetDefaultConfig
|
||||
|
||||
build:
|
||||
go build .
|
||||
|
||||
@@ -10,3 +10,10 @@ func TestConfigInit(t *testing.T) {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSetDefaults(t *testing.T) {
|
||||
err := SetDefaults()
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ import (
|
||||
)
|
||||
|
||||
func TestDocker(t *testing.T) {
|
||||
//TODO overwrite with custom docker paths
|
||||
resp,err := BuildRunContainer(2,"false")
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user