statping/cmd/doc.go

28 lines
1019 B
Go
Raw Normal View History

2018-12-04 04:17:29 +00:00
// Package main for building the Statping CLI binary application. This package
// connects to all the other packages to make a runnable binary for multiple
// operating system.
//
2018-10-08 04:27:36 +00:00
// Compile Assets
//
2018-12-04 04:17:29 +00:00
// Before building, you must compile the Statping Assets with Rice, to install rice run the command below:
2018-10-08 04:27:36 +00:00
// go get github.com/GeertJohan/go.rice
// go get github.com/GeertJohan/go.rice/rice
//
// Once you have rice install, you can run the following command to build all assets inside the source directory.
// cd source && rice embed-go
//
2018-12-04 04:17:29 +00:00
// Build Statping Binary
2018-10-08 04:27:36 +00:00
//
// To build the statup binary for your local environment, run the command below:
// go build -o statup ./cmd
//
// Build All Binary Arch's
//
2018-12-04 04:17:29 +00:00
// To build Statping for Mac, Windows, Linux, and ARM devices, you can run xgo to build for all. xgo is an awesome
2020-03-22 11:00:37 +00:00
// golang package that requires Docker. https://github.com/crazy-max/xgo
// docker pull crazy-max/xgo
2018-10-08 04:27:36 +00:00
// build-all
//
2020-03-09 18:17:55 +00:00
// More info on: https://github.com/statping/statping
package main