Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Project: cocalc-sagemath-dev-slelievre
Views: 418346#!/bin/sh ############################################################################# # disable special creation/extraction of ._* files by tar, etc. on Mac OS X COPYFILE_DISABLE=1; export COPYFILE_DISABLE export PKGNAME="example" export PKGVERSION="3.4.5" export TOOLPATH="/Users/alexk/HGREPS/gap/dev/DistributionUpdate/dist45" cp ${TOOLPATH}/classifyfiles.py ../ cp ${TOOLPATH}/patternstextbinary.txt ../ cp patternscolor.txt ../ echo 'making a list of files to wrap' cd .. chmod 644 $PKGNAME/doc/*.* chmod 644 $PKGNAME/lib/*.* chmod 644 $PKGNAME/src/*.* chmod 644 $PKGNAME/tst/*.* chmod 644 $PKGNAME/CHANGES chmod 644 $PKGNAME/GPL chmod 644 $PKGNAME/README chmod 644 $PKGNAME/*.g chmod 644 $PKGNAME/Makefile.in chmod 755 $PKGNAME/configure python ./classifyfiles.py $PKGNAME echo '======================================================================' echo 'list of text files to include' cat listtextfiles.txt echo '======================================================================' echo 'list of binary files to include' cat listbinaryfiles.txt echo '======================================================================' echo 'list of ignored files' cat listignoredfiles.txt echo '======================================================================' cat listtextfiles.txt listbinaryfiles.txt > filestowrap.txt rm -rf $PKGNAME-$PKGVERSION.tar.gz tar -cvzf $PKGNAME-$PKGVERSION.tar.gz -T filestowrap.txt rm listtextfiles.txt rm listbinaryfiles.txt rm listignoredfiles.txt rm listtextfilesfortools.txt rm listbinaryfilesfortools.txt rm classifyfiles.py rm patternscolor.txt rm patternstextbinary.txt rm filestowrap.txt read -n 1 -p "Shall I copy $PKGNAME $PKGVERSION to its public website ? (y/n)> " ANSWER echo if [ $ANSWER = "y" ]; then echo "Ok, I'll publish the data ..." scp -p $PKGNAME-$PKGVERSION.tar.gz [email protected]:~/public_html/$PKGNAME/ cd $PKGNAME scp -p PackageInfo.g [email protected]:~/public_html/$PKGNAME/ scp -p README [email protected]:~/public_html/$PKGNAME/ cd doc scp -p * [email protected]:~/public_html/$PKGNAME/doc else echo "Don't publish, bye." fi