#!/bin/bash # remember to build with -turbo as in: # bin/build -v -turbo # cobra -v -turbo -bsl # then test, then run this script: # bin/make-snapshot cd "`dirname "$0"`" ; cd .. target='Snapshot' mkdir -p $target cp cobra $target/ cp cobra.exe $target/ if [ -e cobra.pdb ] ; then cp cobra.pdb $target/ else rm -f $target/cobra.pdb fi if [ -e cobra.exe.mdb ] ; then cp cobra.exe.mdb $target/ else rm -f $target/cobra.exe.mdb fi cp Cobra.Core.dll* $target/ if [ -e Cobra.Core.pdb ] ; then cp Cobra.Core.pdb $target/ fi cp Cobra.Sharp.*.dll* $target/ cp -pr WebAssets/* $target/WebAssets/ cp styles-cobra-doc.css $target/ cp styles-cobra-help.css $target/ cp styles-cobra-shl.css $target/ cp styles-output-html.css $target/ cp styles-exception-report.css $target/ cp -pr Cobra.Core/*.cs $target/Cobra.Core/ cp -pr Cobra.Core/*.cobra $target/Cobra.Core/ cp -pr Cobra.Core/*.text $target/Cobra.Core/ echo date is `date` cmd="ls -l $target" echo $cmd $cmd