Commit Graph

12 Commits

Author SHA1 Message Date
yarko
97ecc7a743 fix class var; set SERVICE_VARIANT to lms by default if unset (helps "paver --help" work cleanly) 2014-04-18 17:46:55 -05:00
yarko
59106f236f set reasonable SERVICE_VARIANT based on command line; ensure theme passed to coffeescript also; 2014-04-18 15:00:05 -05:00
Dave St.Germain
f886c9b7c5 Watch for asset changes. 2014-03-31 15:28:15 -04:00
Sef Kloninger
6ed59014d5 fix paver theming on devstack (SERVICE_VARIANT support)
When running in devstack, you need to set the SERVICE_VARIANT so that
assets.py knows what environment file to use.  Recall that in devstack
we have all our settings in ../lms.env.json, not just ../env.json.  So
you need to run like this:

    SERVICE_VARIANT=lms paver lms --settings=devstack

Previously you'd get this error:

    Warning: could not find environment JSON file at 'lms.env.json'

Note there is no path on the file, that's the bug.  By making
self.REPO_ROOT absolute, we can walk up the tree and correctly find
the file, which is /edx/app/edxapp/lms.env.json fwiw.
2014-03-26 16:28:54 -07:00
David Baumgold
37c4cb360a Help paver find the theme directory 2014-03-26 17:51:45 -04:00
David Baumgold
4fbfbf11ff write_stderr() function is unnecessary 2014-03-25 11:32:19 -04:00
David Baumgold
e9b0cc713a from __future__ import print_function
and print errors and warnings to sys.stderr
2014-03-25 11:32:19 -04:00
Will Daly
44dad41ede Switch from Rake to Paver 2014-03-25 11:32:19 -04:00
Will Daly
812e71bbbb Revert "Fix sys.path manipulation in pavement.py, with detailed comment"
This reverts commit 544616be4b.
2014-02-24 11:30:40 -05:00
Will Daly
544616be4b Fix sys.path manipulation in pavement.py, with detailed comment
Restore reverted changes from paver part 1
2014-02-18 15:09:07 -05:00
Will Daly
c85c4b22ed Revert "Replace rake functions with python paver functions"
This reverts commit df2e410f2a.
2014-02-14 14:25:28 -05:00
David Glance
df2e410f2a Replace rake functions with python paver functions
Deprecated rake functions issue a warning and then call paver
replacements

Bring Paver commands up to date with master for servers, assets, and docs.
Revert deprecation of quality, tests, and i18n for a future pull request.
Deprecate workspace migration
2014-02-14 11:25:55 -05:00