diff --git a/LICENSE b/LICENSE index 869e9a90..7540a52d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 shy +Copyright (c) 2017 码神 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index b5c03035..afb15ea5 100644 --- a/Makefile +++ b/Makefile @@ -8,4 +8,8 @@ all: relay: src/relay.go @echo && date - go build -v -o usr/publish/$@ src/$@.go && chmod u+x usr/publish/$@ + go build -v -o usr/publish/$@ src/relay.go && chmod u+x usr/publish/$@ + +relay.darwin: src/relay.go + @echo && date + GOOS=darwin go build -v -o usr/publish/relay.darwin.amd64 src/relay.go diff --git a/go.mod b/go.mod index 454c7b3a..f6e88a06 100644 --- a/go.mod +++ b/go.mod @@ -4,12 +4,12 @@ go 1.13 require ( github.com/shylinux/golang-story v0.0.0-00010101000000-000000000000 - github.com/shylinux/icebergs v0.3.0 + github.com/shylinux/icebergs v0.3.1 github.com/shylinux/linux-story v0.0.0-00010101000000-000000000000 github.com/shylinux/mysql-story v0.0.0-00010101000000-000000000000 github.com/shylinux/nginx-story v0.0.0-00010101000000-000000000000 github.com/shylinux/redis-story v0.0.0-00010101000000-000000000000 - github.com/shylinux/toolkits v0.2.0 + github.com/shylinux/toolkits v0.2.1 ) replace ( diff --git a/go.sum b/go.sum index 5736a1d0..29f18ccf 100644 --- a/go.sum +++ b/go.sum @@ -28,6 +28,7 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 h1:ObdrDkeb4kJdCP557AjRjq golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae h1:/WDfKMnPU+m5M4xB+6x4kaepxRw6jWvR5iDRdvjHgy8= diff --git a/src/main.go b/src/main.go index d752824f..fd248626 100644 --- a/src/main.go +++ b/src/main.go @@ -14,6 +14,8 @@ import ( _ "github.com/shylinux/icebergs/misc/wx" _ "github.com/shylinux/golang-story/src/compile" + _ "github.com/shylinux/golang-story/src/gogs" + _ "github.com/shylinux/golang-story/src/grafana" _ "github.com/shylinux/golang-story/src/project" _ "github.com/shylinux/golang-story/src/runtime" _ "github.com/shylinux/nginx-story/src/server"