Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
grafana.25126
Makefile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Makefile of Package grafana.25126
NAME = grafana SPEC = $(NAME).spec default: verify-deps clean tar verify-deps: @which yarn >/dev/null 2>&1 || ( echo "yarn not found; run \`sudo npm install -g yarn\`" && false ) clean: rm -f $(NAME)-*.tar $(NAME)-*.tar.gz tar: osc service disabledrun @version=$$( awk '/^Version:/ {print $$2}' $(SPEC) ) && \ echo "Package version is $$version" && \ basename=$(NAME)-$$version && \ tar=$$basename.tar && \ tmpdir=$$(mktemp -d -p .) && \ 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 \ patch -p1 -i ../../0001-Add-source-code-reference.patch && \ # End patches section \ yarn install --immutable && \ yarn run build && \ cd .. && \ echo "Updating $$basename/public in tarball..." && \ tar -rf ../$$tar $$basename/public && \ cd .. && \ gzip $$tar && \ rm -rf $$tmpdir
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor