Open sylido opened 10 years ago
It seems like it doesn't recognize the /C/projectDir - the way that project paths are defined in sublime text 2. Had to import re and do the following to get it to work.
fileList = re.sub(r"^/C", 'C:', fileList) fileList = re.sub("/", r'\\', fileList) inPath = re.sub(r"^/C", 'C:', inPath) inPath = re.sub("/", r'\\', inPath) outPath = re.sub(r"^/C", 'C:', outPath) outPath = re.sub("/", r'\\', outPath) jsMaster = re.sub(r"^/C", 'C:', jsMaster) jsMaster = re.sub("/", r'\\', jsMaster) jsMinify = re.sub(r"^/C", 'C:', jsMinify) jsMinify = re.sub("/", r'\\', jsMinify)
Great little script by the way.
Can you send a pull request?
It seems like it doesn't recognize the /C/projectDir - the way that project paths are defined in sublime text 2. Had to import re and do the following to get it to work.
Great little script by the way.