File: 2compile.sh

package info (click to toggle)
3depict 0.0.23-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 18,628 kB
  • sloc: cpp: 75,669; sh: 6,436; xml: 1,608; python: 350; ansic: 190; makefile: 177
file content (21 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
cp makeMacOSXApp ../..
cp -R 3Depict.app ../..
cd ../..
time ./makeMacOSXApp --update-config=no > out.txt 2>&1
if [ $? -eq 0 ] ; then
	echo "Finished compiling"
else
	echo "Failed"
	vi out.txt
	exit 1
fi
time ./3Depict.app/Contents/MacOS/3Depict -t > out2.txt 2>&1
if [ $? -eq 0 ] ; then
        echo "Finished testing"
else
        echo "Failed"
        vi out2.txt
	exit 1
fi