mirror of
https://github.com/gmemstr/pogo.git
synced 2024-09-20 01:31:09 +01:00
Add instructions to README for makefile
This commit is contained in:
parent
9d8350e918
commit
84b8831dad
8
Makefile
8
Makefile
|
@ -1,8 +1,14 @@
|
||||||
all:
|
all:
|
||||||
go build -o whiterabbit.exe src/webserver.go src/admin.go src/generate_rss.go
|
go build src/webserver.go src/admin.go src/generate_rss.go
|
||||||
|
|
||||||
windows: src/admin.go src/webserver.go src/generate_rss.go
|
windows: src/admin.go src/webserver.go src/generate_rss.go
|
||||||
go build -o whiterabbit.exe src/webserver.go src/admin.go src/generate_rss.go
|
go build -o whiterabbit.exe src/webserver.go src/admin.go src/generate_rss.go
|
||||||
|
|
||||||
liunx: src/admin.go src/webserver.go src/generate_rss.go
|
liunx: src/admin.go src/webserver.go src/generate_rss.go
|
||||||
go build -o whiterabbit src/webserver.go src/admin.go src/generate_rss.go
|
go build -o whiterabbit src/webserver.go src/admin.go src/generate_rss.go
|
||||||
|
|
||||||
|
install:
|
||||||
|
go get github.com/gmemstr/feeds
|
||||||
|
go get github.com/fsnotify/fsnotify
|
||||||
|
go get github.com/spf13/viper
|
||||||
|
go get github.com/gorilla/mux
|
10
README.md
10
README.md
|
@ -30,11 +30,19 @@ to produce a product that is easy to deploy and easier to use when hosting a pod
|
||||||
|
|
||||||
## building
|
## building
|
||||||
|
|
||||||
|
```
|
||||||
|
make install
|
||||||
|
make
|
||||||
|
./webserver
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
**non-make**
|
||||||
```
|
```
|
||||||
go get github.com/gmemstr/feeds
|
go get github.com/gmemstr/feeds
|
||||||
go get github.com/fsnotify/fsnotify
|
go get github.com/fsnotify/fsnotify
|
||||||
go get github.com/spf13/viper
|
go get github.com/spf13/viper
|
||||||
go get github.com/gorilla/mux
|
go get github.com/gorilla/mux
|
||||||
go build webserver.go generate_rss.go
|
go build webserver.go generate_rss.go admin.go
|
||||||
./webserver
|
./webserver
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue