Skip to content

Commit

Permalink
Ensure tern is properly installed when running the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed Dec 10, 2015
1 parent 9a69478 commit 7c9fa9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def SetUpTern():

os.chdir( p.join( DIR_OF_THIS_SCRIPT, 'third_party', 'tern' ) )

subprocess.check_call( [ 'npm', 'install' ] )
subprocess.check_call( [ 'npm', 'install', '--production' ] )


def Main():
Expand Down
3 changes: 2 additions & 1 deletion run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def BuildYcmdLibs( args ):
sys.executable,
p.join( DIR_OF_THIS_SCRIPT, 'build.py' ),
'--omnisharp-completer',
'--gocode-completer'
'--gocode-completer',
'--tern-completer',
]

if args.msvc:
Expand Down

0 comments on commit 7c9fa9a

Please sign in to comment.