Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
golang-github-prometheus-prometheus.28508
Makefile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Makefile of Package golang-github-prometheus-prometheus.28508
NAME = prometheus SPEC = golang-github-prometheus-prometheus.spec default: clean tar clean: rm -f $(NAME)-*.tar $(NAME)-*.tar.gz tar: osc service disabledrun @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 && \ patch --no-backup-if-mismatch -p1 -i $$wd/0003-Update-Go-modules.patch && \ go mod download && \ go mod verify && \ go mod vendor && \ tar --format=posix -cf $$wd/vendor.tar vendor && \ make assets && \ echo "Creating web assets tarball" && \ tar -cf $$wd/$$web_ui web/ui/static/react && \ tar -rf $$wd/$$web_ui web/ui/assets_vfsdata.go && \ cd .. && \ cd $$wd && \ gzip -f $$web_ui && \ gzip -f vendor.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