Skip to content

Commit

Permalink
Merge branch 'release/0.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
apcomplete committed Apr 11, 2012
2 parents 9fa67c4 + 64cdb81 commit 26ae7e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion mass/parse.py
Expand Up @@ -34,7 +34,11 @@ def get_output(src):
for line in lines:
m = re.match(config.import_regex,line)
if m:
include_file = config.sources[os.path.abspath(src.dir + '/' + m.group('script'))]
include_path = os.path.abspath(src.dir + '/' + m.group('script'));
if include_path not in config.sources:
script = Script(include_path)
config.sources[script.path] = script
include_file = config.sources[include_path]
#require statements dont include if the file has already been included
if include_file not in config.stack or m.group('command') == 'import':
config.stack.append(include_file)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -10,7 +10,7 @@ def read(fname):

setup(
name='mass',
version='0.1.1',
version='0.1.2',
description='Merge and Simplify Scripts: an automated tool for managing, combining and minifying javascript assets for web projects.',
long_description=read('README'),
author='jack boberg alex padgett',
Expand Down

0 comments on commit 26ae7e7

Please sign in to comment.