Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
jcsp
jcsp-create-tarball.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jcsp-create-tarball.sh of Package jcsp
#!/bin/bash if [ $# -ne 1 ]; then echo "Usage: ./create-sources VERSION" exit 1 fi VERSION=${1} NAME="jcsp" wget https://github.com/codehaus/${NAME}/archive/${VERSION}.tar.gz tar -xf ${VERSION}.tar.gz rm ${VERSION}.tar.gz find ./${NAME}-${VERSION} -name "*.jar" -delete find ./${NAME}-${VERSION} -name "*.class" -delete # Remove unused files rm -Rf ./${NAME}-${VERSION}/*gradle* rm -Rf ./${NAME}-${VERSION}/wrapper rm -Rf ./${NAME}-${VERSION}/.gitignore rm -Rf ./${NAME}-${VERSION}/src/jcsp-demos rm -Rf ./${NAME}-${VERSION}/src/org/jcsp/win32/Installing\ NT\ Services.txt rm -Rf ./${NAME}-${VERSION}/src/org/jcsp/win32/*.c* rm -Rf ./${NAME}-${VERSION}/src/org/jcsp/win32/*.h* rm -Rf ./${NAME}-${VERSION}/JCSP\ Networking.pdf tar cJf ${NAME}-${VERSION}-clean.tar.xz ./${NAME}-${VERSION}
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