4 Commits

Author SHA1 Message Date
9361e7ddec readme 2016-10-08 17:00:25 +13:00
ee59a4a773 improve backward compatibility with dcwebui2 config files 2016-10-08 16:51:19 +13:00
2047762e62 scripts: also make source tarball 2016-10-08 16:41:34 +13:00
16aa97b6e5 Added tag release-1.0.0 for changeset 769fad81e3f8 2016-10-08 16:33:59 +13:00
4 changed files with 26 additions and 11 deletions

1
.hgtags Normal file
View File

@@ -0,0 +1 @@
769fad81e3f8db8f7e5f5c164656a382a169d735 release-1.0.0

View File

@@ -2,22 +2,22 @@ package main
type Config struct {
App struct {
Name string
Version string
MotdHTML string
Debug bool
Name string `json:"name"`
Version string `json:"version"`
MotdHTML string `json:"motd"`
Debug bool `json:"debug"`
}
Web struct {
Port int
BindTo string
Extern string
Title string
Port int `json:"port"`
BindTo string `json:"bind_to"`
Extern string `json:"extern"`
Title string `json:"title"`
}
Hub struct {
Address string
Port int
Tag string
Address string `json:"address"`
Port int `json:"port"`
Tag string `json:"tag"`
}
}

View File

@@ -10,6 +10,9 @@ Written in Golang
=CHANGELOG=
2016-10-08 1.0.1
- Fix an issue with backward compatibility with `dcwebui2` configuration file format
2016-10-08 1.0.0
- Port `dcwebui2` from Node.js (Javascript) to Go
- Fix a cosmetic issue with not clearing userlist on disconnection

View File

@@ -165,6 +165,17 @@ main() {
GOARCH=amd64 GOOS=linux single_build "$version"
GOARCH=386 GOOS=linux single_build "$version"
# Also make source tarball
local SOURCE_FILES=(
client/
build.sh
Config.go
main.go
nmdc-webfrontend.conf.SAMPLE
)
XZ_OPT='-9' tar caf "_dist/$(get_package_name)-${version}-src.tar.xz" "${SOURCE_FILES[@]}" --owner=0 --group=0 >/dev/null
echo "[INFO] Build complete."
}