Skip to content

Move CSS to be managed by Compass #9

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 2 commits into from
Apr 27, 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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ develop-eggs
# Installer logs
pip-log.txt

# Installer lock files
Gemfile.lock

# Unit test / coverage reports
.coverage
.tox
Expand All @@ -24,5 +27,8 @@ pip-log.txt
#Translations
*.mo

# SASS cache
.sass-cache

# Ignore the typical config file
config.yaml
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"

gem "foreman"

gem "compass", "~> 0.12.2"
gem "compass_twitter_bootstrap", :git => "git://github.com/vwall/compass-twitter-bootstrap.git", :ref => "41f5acd"
2 changes: 2 additions & 0 deletions devel/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
compass: bundle exec compass watch ../warehouse/static
web: warehouse runserver
3 changes: 3 additions & 0 deletions devel/env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PYTHONUNBUFFERED=True
DJANGO_SETTINGS_MODULE=configs.dev
DJANGO_CONFIGURATION=Development
13 changes: 13 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,16 @@ def tests(suite=None, coverage=False, pdb=False):
if int(covered) < 100:
print("")
sys.exit("[FAILED] Coverage is less than 100%")


@invoke.task
def compile():
# Compile the css for Warehouse
invoke.run(
"bundle exec compass compile --force warehouse/static")


@invoke.task
def run():
# Use foreman to start up all our development processes
invoke.run("bundle exec foreman start -d devel -e devel/env", pty=True)
Loading