forked from pool/grafana
Accepting request 874474 from home:tserong:branches:server:monitoring
Update to version 7.4.2 OBS-URL: https://build.opensuse.org/request/show/874474 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=52
This commit is contained in:
committed by
Git OBS Bridge
parent
1c85b61d33
commit
6b0443b68b
11
Makefile
11
Makefile
@@ -5,7 +5,6 @@ default: verify-deps clean tar
|
||||
|
||||
verify-deps:
|
||||
@which yarn >/dev/null 2>&1 || ( echo "yarn not found; run \`sudo npm install -g yarn\`" && false )
|
||||
@which grunt >/dev/null 2>&1 || ( echo "grunt not found; run \`sudo npm install -g grunt-cli\`" && false )
|
||||
|
||||
clean:
|
||||
rm -f $(NAME)-*.tar $(NAME)-*.tar.gz
|
||||
@@ -20,17 +19,17 @@ tar:
|
||||
cd $$tmpdir && \
|
||||
gunzip ../$$tar.gz && \
|
||||
tar -xf ../$$tar && \
|
||||
# recreate tarball explicitly in a format that handles long filenames \
|
||||
tar --format=posix -cf ../$$tar $$basename && \
|
||||
cd $$basename && \
|
||||
# Patches for the JS frontend go after here \
|
||||
# No patches currently needed \
|
||||
# End patches section \
|
||||
yarn install --pure-lockfile && \
|
||||
grunt release && \
|
||||
cp -pr tmp/public . && \
|
||||
cp -pr tmp/tools . && \
|
||||
yarn run build && \
|
||||
cd .. && \
|
||||
echo "Updating $$basename/tools $$basename/public in tarball..." && \
|
||||
tar -rf ../$$tar $$basename/tools $$basename/public && \
|
||||
echo "Updating $$basename/public in tarball..." && \
|
||||
tar -rf ../$$tar $$basename/public && \
|
||||
cd .. && \
|
||||
gzip $$tar && \
|
||||
rm -rf $$tmpdir
|
||||
|
Reference in New Issue
Block a user