diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2014-06-09 12:48:47 -0700 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2014-06-09 12:48:47 -0700 |
commit | 451a162624bfbe52c7c91a8e8803b34e8bb8de39 (patch) | |
tree | 9b68edb5a690d3558d592e09301055010f2c48a6 | |
parent | 914c78559c32917847700adfeb4b11ceed9995ab (diff) |
Make the build run on Windows.
-rwxr-xr-x | build.bat | 8 | ||||
-rw-r--r-- | scripts/build-v2.py | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/build.bat b/build.bat new file mode 100755 index 0000000..710eccd --- /dev/null +++ b/build.bat @@ -0,0 +1,8 @@ +# Modify this to point to local Fontlab executable
+set FONTLAB="C:\Program Files (x86)\Fontlab\Studio 5\Studio 5.exe"
+
+echo BASEDIR=r"%cd%" > tmp-makefontsB.flw
+type scripts\build-v2.py >> tmp-makefontsB.flw
+set PYTHONPATH=%cd%\scripts\lib
+%FONTLAB% tmp-makefontsB.flw +del tmp-makefontsB.flw
diff --git a/scripts/build-v2.py b/scripts/build-v2.py index 89b7272..8d900ed 100644 --- a/scripts/build-v2.py +++ b/scripts/build-v2.py @@ -1,6 +1,5 @@ -
import sys
-# BASEDIR="/Users/robertsonc/GoogleDrive/Fonts/Roboto_src"
+
sys.path.insert(0,"%s/scripts/lib"%BASEDIR)
from robofab.world import RFont
|