-
-
Notifications
You must be signed in to change notification settings - Fork 608
/
doc.go
27 lines (27 loc) · 1016 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Package main for building the Statup CLI binary application. This package
// connects to all the other packages to make a runnable binary for multiple
// operating system.
//
// Compile Assets
//
// Before building, you must compile the Statup Assets with Rice, to install rice run the command below:
// 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
//
// Build Statup Binary
//
// To build the statup binary for your local environment, run the command below:
// go build -o statup ./cmd
//
// Build All Binary Arch's
//
// To build Statup for Mac, Windows, Linux, and ARM devices, you can run xgo to build for all. xgo is an awesome
// golang package that requires Docker. https://github.com/karalabe/xgo
// docker pull karalabe/xgo-latest
// build-all
//
// More info on: https://github.com/hunterlong/statup
package main