mirror of
https://github.com/unraid/webgui.git
synced 2026-02-23 02:39:28 -06:00
Sample build script
This commit is contained in:
@@ -1,16 +1 @@
|
||||
module github.com/SimonFair/unraidwold/v2
|
||||
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/google/gopacket v1.1.19
|
||||
github.com/google/gopacket/pcap v1.1.19
|
||||
github.com/google/gopacket/layers v1.1.19
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
||||
golang.org/x/net v0.5.0 // indirect
|
||||
golang.org/x/sys v0.4.0 // indirect
|
||||
golang.org/x/text v0.6.0 // indirect
|
||||
)
|
||||
|
||||
10
src/unraidwold/wolbuild
Normal file
10
src/unraidwold/wolbuild
Normal file
@@ -0,0 +1,10 @@
|
||||
mkdir -p unraidwol
|
||||
cd unraidwol/
|
||||
DATA_DIR=$(pwd)
|
||||
cd ${DATA_DIR}
|
||||
git clone https://github.com/SimonFair/unraidwol
|
||||
cd ${DATA_DIR}/unraidwol
|
||||
git checkout main
|
||||
PATH="$PATH:/usr/local/go/bin"
|
||||
go mod tidy
|
||||
go build
|
||||
Reference in New Issue
Block a user