Skip to content

Commit

Permalink
add all target
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Phillips committed Feb 22, 2012
1 parent b888994 commit 0842031
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions all.gyp
@@ -0,0 +1,11 @@
{
'targets': [
{
'target_name': 'all',
'type': 'none',
'dependencies': [
'luvit.gyp:luvit'
]
}
]
}
4 changes: 2 additions & 2 deletions tools/gyp_luvit
Expand Up @@ -27,11 +27,11 @@ if __name__ == '__main__':
# On msvs it will crash if it gets an absolute path. # On msvs it will crash if it gets an absolute path.
# On Mac/make it will crash if it doesn't get an absolute path. # On Mac/make it will crash if it doesn't get an absolute path.
if sys.platform == 'win32': if sys.platform == 'win32':
args.append(os.path.join(src_root, 'luvit.gyp')) args.append(os.path.join(src_root, 'all.gyp'))
common_fn = os.path.join(src_root, 'common.gypi') common_fn = os.path.join(src_root, 'common.gypi')
options_fn = os.path.join(src_root, 'options.gypi') options_fn = os.path.join(src_root, 'options.gypi')
else: else:
args.append(os.path.join(os.path.abspath(src_root), 'luvit.gyp')) args.append(os.path.join(os.path.abspath(src_root), 'all.gyp'))
common_fn = os.path.join(os.path.abspath(src_root), 'common.gypi') common_fn = os.path.join(os.path.abspath(src_root), 'common.gypi')
options_fn = os.path.join(os.path.abspath(src_root), 'options.gypi') options_fn = os.path.join(os.path.abspath(src_root), 'options.gypi')


Expand Down

0 comments on commit 0842031

Please sign in to comment.