~ubuntu-branches/ubuntu/wily/julia/wily

« back to all changes in this revision

Viewing changes to contrib/windows/prepare-julia-env.bat

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2013-02-06 17:54:29 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130206175429-13br5kqpkfjqdmre
Tags: 0.0.0+20130206.git32ff5759-1
* New upstream snapshot.
* debian/copyright: reflect upstream changes
* debian/rules: update get-orig-source to reflect upstream changes
   + Don't ship nginx
   + Adapt for new configure-random target in deps/Makefile
* Enable build of Tk wrapper.
   + debian/control: add build dependency on tk-dev
   + debian/rules: add tk rule to build-arch
* debian/julia.install: install VERSION and COMMIT files
* no-webrepl.patch: new patch
* Refresh other patches
* Add source override for config.status file under deps/random/

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@rem
 
2
@rem  This file attempts to auto detect and configure the environment
 
3
@rem  for starting julia and julia-web-server
 
4
@rem
 
5
@rem  It sets the path as needed to reference various lib and bin
 
6
@rem  files, and builds sys.ji if needed.
 
7
@rem
 
8
 
 
9
set SYS_PATH=%PATH%
 
10
set PATH=%~dp0bin;%~dp0usr\bin;%~dp0..\usr\bin;%~dp0..\..\usr\bin
 
11
set JULIA_EXE=julia-release-readline.exe
 
12
for %%A in (%JULIA_EXE%) do set JULIA_HOME=%%~dp$PATH:A
 
13
set JULIA=%JULIA_HOME%%JULIA_EXE%
 
14
set PATH=%JULIA_HOME%;%JULIA_HOME%..\lib\julia;%JULIA_HOME%..\lib;.;%SYS_PATH%;%~dp0\Git\bin
 
15
set HOME=%JULIA_HOME%..\..
 
16
set JL_PRIVATE_LIBDIR=lib\julia
 
17
 
 
18
if not exist "%JULIA_HOME%..\lib\julia\sys.ji" (echo "Preparing Julia for first launch. This may take a while" && echo "You may see two git related errors. This is completely normal" && cd "%JULIA_HOME%..\share\julia\base" && "%JULIA%" -b sysimg.jl && popd && pushd "%cd%")