source: sasview/build_tools/jenkins_osx_build.sh @ 20eeb00

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 20eeb00 was 460f5f2, checked in by Doucet, Mathieu <doucetm@…>, 10 years ago

Tweak osx build

  • Property mode set to 100755
File size: 935 bytes
RevLine 
[8a2e317]1export PATH=$PATH:/usr/local/bin/
2
3cd $WORKSPACE
4
5export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH
6
7##########################################################################
8# Use git/svn scripts
9
10#  Check dependencies
11cd $WORKSPACE
12if [ ! -d "utils" ]; then
13    mkdir utils
14fi
15
16
17# BUILD_CODE
18cd $WORKSPACE
19/bin/sh -xe build_tools/jenkins_linux_build.sh
20
21
22# TEST_CODE
23cd $WORKSPACE
24/bin/sh -xe build_tools/jenkins_linux_test.sh
25
26
27# BUILD DOCS
28export LC_ALL=en_US.UTF-8
29export LANG=en_US.UTF-8
30cd $WORKSPACE
31python setup.py docs
32
33
34# BUILD_egg with new docs
35cd $WORKSPACE
36python setup.py bdist_egg --skip-build
37
38
39# PYLINT_CODE
40#cd $WORKSPACE
[460f5f2]41#/bin/sh -xe build_tools/jenkins_linux_pylint.sh
[8a2e317]42
43
44# BUILD APP
45cd $WORKSPACE/sasview
46python setup_mac.py py2app
47
48cd $WORKSPACE/sasview/dist
49tar -czf `python -c "import pkg_resources;print '%s.tar.gz' % pkg_resources.get_distribution('sasview').egg_name()"` sasview.app
Note: See TracBrowser for help on using the repository browser.