mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Removing tests from fabfile that are no longer needed.
This commit is contained in:
parent
836f68e4ad
commit
a36d867882
10
IPython/frontend/html/notebook/fabfile.py
vendored
10
IPython/frontend/html/notebook/fabfile.py
vendored
@ -7,19 +7,9 @@ import os
|
||||
static_dir = 'static'
|
||||
components_dir = os.path.join(static_dir,'components')
|
||||
|
||||
def test_component(name):
|
||||
if not os.path.exists(os.path.join(components_dir,name)):
|
||||
components()
|
||||
|
||||
def components():
|
||||
"""install components with bower"""
|
||||
with lcd(static_dir):
|
||||
local('bower install')
|
||||
|
||||
def css(minify=True):
|
||||
"""generate the css from less files"""
|
||||
test_component('bootstrap')
|
||||
test_component('less.js')
|
||||
if minify not in ['True', 'False', True, False]:
|
||||
abort('minify must be Boolean')
|
||||
minify = (minify in ['True',True])
|
||||
|
Loading…
Reference in New Issue
Block a user