mirror of
https://github.com/unpoller/unpoller.git
synced 2026-09-30 03:21:28 +02:00
Update build. Allow less "building" to create all the packages.
This commit is contained in:
@@ -28,7 +28,7 @@ rm -rf package_build
|
||||
mkdir -p package_build${BINFIX}/bin package_build${PREFIX}/etc/${BINARY} package_build${BINFIX}/share/man/man1
|
||||
|
||||
# Copy the binary, config file and man page into the env.
|
||||
cp ${BINARY} package_build${BINFIX}/bin
|
||||
cp ${BINARY}.linux package_build${BINFIX}/bin/${BINARY}
|
||||
cp *.1.gz package_build${BINFIX}/share/man/man1
|
||||
cp examples/up.conf.example package_build${PREFIX}/etc/${BINARY}/up.conf
|
||||
|
||||
@@ -42,4 +42,8 @@ fpm -s dir -t ${OUTPUT} \
|
||||
--version ${VERSION} \
|
||||
--after-install scripts/after-install.sh \
|
||||
--before-remove scripts/before-remove.sh \
|
||||
--license MIT \
|
||||
--url 'https://github.com/davidnewhall/unifi-poller' \
|
||||
--maintainer 'david at sleepers dot pro' \
|
||||
--description 'This daemon polls a Unifi controller at a short interval and stores the collected metric data in an Influx Database.' \
|
||||
--chdir package_build
|
||||
|
||||
@@ -24,7 +24,7 @@ mkdir -p package_build${BINFIX}/bin package_build${PREFIX}/etc/${BINARY} package
|
||||
mkdir -p package_build${PREFIX}/var/log
|
||||
|
||||
# Copy the binary, config file and man page into the env.
|
||||
cp ${BINARY} package_build${BINFIX}/bin
|
||||
cp ${BINARY}.macos package_build${BINFIX}/bin/${BINARY}
|
||||
cp *.1.gz package_build${BINFIX}/share/man/man1
|
||||
cp examples/up.conf.example package_build${PREFIX}/etc/${BINARY}/
|
||||
|
||||
@@ -38,4 +38,8 @@ fpm -s dir -t osxpkg \
|
||||
--version ${VERSION} \
|
||||
--after-install scripts/after-install-osx.sh \
|
||||
--osxpkg-identifier-prefix com.github.davidnewhall \
|
||||
--license MIT \
|
||||
--maintainer 'david at sleepers dot pro' \
|
||||
--url 'https://github.com/davidnewhall/unifi-poller' \
|
||||
--description 'This daemon polls a Unifi controller at a short interval and stores the collected metric data in an Influx Database.' \
|
||||
--chdir package_build
|
||||
|
||||
Reference in New Issue
Block a user