mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
Consolidate cmds in cmd/
This commit is contained in:
parent
978f68b744
commit
08ca9f9378
6
build.sh
6
build.sh
@ -26,7 +26,7 @@ build() {
|
|||||||
|
|
||||||
assets() {
|
assets() {
|
||||||
check
|
check
|
||||||
godep go run cmd/assets/assets.go gui > auto/gui.files.go
|
godep go run cmd/genassets/main.go gui > auto/gui.files.go
|
||||||
}
|
}
|
||||||
|
|
||||||
test-cov() {
|
test-cov() {
|
||||||
@ -97,7 +97,7 @@ setup() {
|
|||||||
|
|
||||||
xdr() {
|
xdr() {
|
||||||
for f in discover/packets files/leveldb protocol/message ; do
|
for f in discover/packets files/leveldb protocol/message ; do
|
||||||
go run xdr/cmd/genxdr/main.go -- "${f}.go" > "${f}_xdr.go"
|
go run cmd/genxdr/main.go -- "${f}.go" > "${f}_xdr.go"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ case "$1" in
|
|||||||
test || exit 1
|
test || exit 1
|
||||||
assets
|
assets
|
||||||
|
|
||||||
godep go build ./discover/cmd/discosrv
|
godep go build ./cmd/discosrv
|
||||||
|
|
||||||
for os in darwin-amd64 linux-386 linux-amd64 freebsd-amd64 windows-amd64 windows-386 ; do
|
for os in darwin-amd64 linux-386 linux-amd64 freebsd-amd64 windows-amd64 windows-386 ; do
|
||||||
export GOOS=${os%-*}
|
export GOOS=${os%-*}
|
||||||
|
Loading…
Reference in New Issue
Block a user