Skip to content

Commit

Permalink
update Sparc build to clean git stuff and prior pyc files
Browse files Browse the repository at this point in the history
  • Loading branch information
hefischer committed Jun 23, 2016
1 parent 00554bf commit 1d85675
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions buildSol10Sun4Dist-64bit34.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ PYTHON=python3.4
# create version with date and a shell file to name output with the date
${PYTHON} buildVersion.py

# clean all previously compiled pyc files
find arelle -name '*.cpython-3?.pyc' -exec rm {} \;

BUILT64=exe.solaris-2.10-sun4v.64bit-3.4

if [ -d build/${BUILT64} ]
Expand All @@ -25,6 +28,9 @@ fi
${PYTHON} setup.py build
cp arelle/scripts-unix/* build/${BUILT64}

# remove .git subdirectories
find $BUILT64 -name .git -exec rm -fR {} \;

cd build/${BUILT64}

# for now there's no tkinter on solaris sun4 (intended for server only)
Expand All @@ -50,8 +56,13 @@ cd ../..
# add arelle into SEC XBRL.JAR
cd build
mv ${BUILT64} arelle
cp /export/home/slee/Documents/vm-files/XBRL.JAR ../dist
jar uf ../dist/XBRL.JAR arelle
rm -fr arelle/examples
cp /export/home/edgar/xbrl.jar ../dist
echo updating xbrl.jar
jar tvf ../dist/xbrl.jar | grep library.zip
jar uf ../dist/xbrl.jar arelle
jar tvf ../dist/xbrl.jar | grep library.zip
jar uf ../dist/xbrl.jar arelle
mv arelle ${BUILT64}
cd ..

Expand Down

0 comments on commit 1d85675

Please sign in to comment.