Simple package script for building distributions.
parent
066f741121
commit
1ef1c999ea
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -e build ]; then
|
||||
rm -rf build/*
|
||||
else
|
||||
mkdir build
|
||||
fi
|
||||
|
||||
go build src/server/server.go
|
||||
mv server build/influxdb
|
||||
|
||||
cp config.json.sample build/config.json
|
||||
|
||||
mkdir build/admin
|
||||
touch build/admin/index.html
|
||||
|
||||
tar -czf influxdb-`cat VERSION`.tar.gz build/*
|
Loading…
Reference in New Issue