Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
golang-github-prometheus-prometheus
Makefile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Makefile of Package golang-github-prometheus-prometheus
NAME = prometheus SPEC = golang-github-prometheus-prometheus.spec default: clean tar clean: rm -f $(NAME)-*.tar $(NAME)-*.tar.gz web-ui-*.tar.gz npm_licenses.tar.bz2 tar: osc service manualrun @version=$$( awk '/^Version:/ {print $$2;exit;}' $(SPEC) ) && \ echo "Package version is $$version" && \ basename=$(NAME)-$$version && \ tar=$$basename.tar && \ web_ui=web-ui-$$version.tar && \ wd=$$(pwd) && \ tmpdir=$$(mktemp -d -p /tmp) && \ cd $$tmpdir && \ tar -zxf $$wd/$$tar.gz && \ cd $$basename && \ make assets npm_licenses assets-compress && \ tar -cf $$wd/$$web_ui web/ui/static/react && \ find web/ui/static -type f -name '*.gz' -exec tar -rf $$wd/$$web_ui "{}" \; && \ tar -rf $$wd/$$web_ui web/ui/embed.go && \ cd .. && \ echo "Creating web assets tarball" && \ mv $$basename/npm_licenses.tar.bz2 $$wd && \ cd $$wd && \ gzip -f $$web_ui && \ 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