Projectize the project.

This commit is contained in:
DN2
2018-04-22 14:10:55 -07:00
parent 95530f599f
commit 7fca3f7242
25 changed files with 2402 additions and 2493 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
OUTPUT=$1
# This requires the installation of `ronn`: sudo gem install ronn
for f in cmd/*/README.md;do
# Strtip off cmd/ then strip off README to get the man-file name.
PKGNOCMD="${f#cmd/}"
PKG="${PKGNOCMD%/README.md}"
echo "Creating Man Page: ${f} -> ${OUTPUT}${PKG}.1.gz"
ronn < "$f" | gzip -9 > "${OUTPUT}${PKG}.1.gz"
done
-9
View File
@@ -1,9 +0,0 @@
#!/bin/bash
set -e
# Load the environment variables needed for testing
export $(cat .env | grep -v ^# | xargs)
go clean
go build -o unifi
./unifi