Created
March 24, 2020 15:36
-
-
Save chrisamiller/a14f461bd145c131934d979217c658b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#auto update the build time | |
grep -v "^Packaged:" sciClone/DESCRIPTION >zz | |
mv -f zz sciClone/DESCRIPTION | |
thedate=`date +"%F %r"`; | |
echo "Packaged: $thedate; cmiller" >>sciClone/DESCRIPTION | |
version=$(grep "Version" sciClone/DESCRIPTION | awk '{print $2}') | |
R CMD build sciClone && R CMD INSTALL sciClone_$version.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment