Browse Source

Better way of getting rid of symlinks

Windows, especially msysgit, doesn't like 'em
v0.7.4-release
Bert Belder 14 years ago
parent
commit
3c3d1d31c5
  1. 8
      tools/js2c.py
  2. 3
      tools/jsmin.py
  3. 3
      tools/test.py
  4. 1
      tools/utils.py

8
tools/js2c.py

@ -31,7 +31,13 @@
# char arrays. It is used for embedded JavaScript code in the V8 # char arrays. It is used for embedded JavaScript code in the V8
# library. # library.
import os, re, sys, string import os
from os.path import dirname
import re
import sys
import string
sys.path.append(dirname(__file__) + "/../deps/v8/tools");
import jsmin import jsmin

3
tools/jsmin.py

@ -1,3 +0,0 @@
import sys
sys.path.append("../deps/v8/tools")
import jsmin

3
tools/test.py

@ -40,9 +40,10 @@ import sys
import tempfile import tempfile
import time import time
import threading import threading
import utils
from Queue import Queue, Empty from Queue import Queue, Empty
sys.path.append(dirname(__file__) + "/../deps/v8/tools");
import utils
VERBOSE = False VERBOSE = False

1
tools/utils.py

@ -1 +0,0 @@
../deps/v8/tools/utils.py
Loading…
Cancel
Save