8000 remove js components from the repo by minrk · Pull Request #3240 · ipython/ipython · GitHub
[go: up one dir, main page]

Skip to content

remove js components from the repo #3240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 2, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "components"]
path = IPython/frontend/html/notebook/static/components
url = git://github.com/ipython/ipython-components.git
10 changes: 3 additions & 7 deletions IPython/frontend/html/notebook/fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,17 @@
import os

static_dir = 'static'
components_dir = os.path.join(static_dir,'components')
components_dir = os.path.join(static_dir, 'components')


def components():
"""install components with bower"""
with lcd(static_dir):
local('bower install')

def css(minify=True):
"""generate the css from less files"""
if minify not in ['True', 'False', True, False]:
abort('minify must be Boolean')
minify = (minify in ['True',True])

min_flag= '-x' if minify is True else ''
lessc = os.path.join('components', 'less.js', 'bin', 'lessc')
with lcd(static_dir):
local('lessc {min_flag} less/style.less css/style.min.css'.format(min_flag=min_flag))
local('{lessc} {min_flag} less/style.less css/style.min.css'.format(**locals()))

9 changes: 0 additions & 9 deletions IPython/frontend/html/notebook/static/bower.json

This file was deleted.

1 change: 1 addition & 0 deletions IPython/frontend/html/notebook/static/components
Submodule components added at f74673

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

176 changes: 0 additions & 176 deletions IPython/frontend/html/notebook/static/components/bootstrap/LICENSE

This file was deleted.

Loading
0