Browse files

Add scripts to allow scons to be run just by typing scons at the root…

… of the repository.
  • Loading branch information...
1 parent a378359 commit 9ed4dcb5159033babb751cb92c285b33773ce449 @jcsteh jcsteh committed Nov 20, 2013
Showing with 16 additions and 0 deletions.
  1. +5 −0 scons.bat
  2. +11 −0
@@ -0,0 +1,5 @@
+@echo off
+rem We need this script because .py probably isn't in pathext.
+rem We can't just call python -c because it may not be in the path.
+rem Python registers itself with the .py extension, so call
+%~dp0\ %*
@@ -0,0 +1,11 @@
+"""Run SCons from the NVDA source environment.
+import sys
+import os
+ os.path.join(__file__, "..", "source")))
+import sourceEnv
+del sys.path[-1]
+import SCons.Script

0 comments on commit 9ed4dcb

Please sign in to comment.