Commit Graph

13 Commits

Author SHA1 Message Date
Will Daly
ed57e7e555 Used dependency to ensure that REPORT_DIR exists before cleaning.
This allows the build to pass in Jenkins
2013-06-27 11:43:11 -04:00
Will Daly
9336ffde94 Added clean reports dependency to rake JavaScript test tasks.
This ensures that `rake test` will clean the report directories
*before* running the JS tests.
2013-06-26 17:14:12 -04:00
Jonah Stanley
b14553d867 Merge pull request #220 from edx/jonahstanley/make-units-parallel
Jonahstanley/make units parallel
2013-06-25 11:44:01 -07:00
JonahStanley
cb04f9f0b8 Moved port range to rake file 2013-06-21 08:51:44 -04:00
Will Daly
f109e5b01c Changed order of arguments to test tasks so that the report
directory is created before it is cleaned.
2013-06-21 08:02:23 -04:00
Will Daly
106e0aae01 Clean tests step now removes stale coverage report files.
Added test cleaning to fasttest_* instead of test_*, so that
it always gets executed for lms and cms tests.

Added comment to `directory` command for tests.rake

Separated cleaning of test fixtures from cleaning of reports
directory to resolve conflicts with collectstatic.
2013-06-20 16:08:18 -04:00
Calen Pennington
cd972d6427 Merge branch 'cale/standard-coffee-watch' into cale/stabilize-dev-env
Conflicts:
	CHANGELOG.rst
	rakelib/assets.rake
2013-06-20 09:23:57 -04:00
Calen Pennington
f11900a85c Merge branch 'cale/singleton-watchers' into cale/stabilize-dev-env
Conflicts:
	CHANGELOG.rst
2013-06-20 09:23:18 -04:00
Calen Pennington
64912a7741 Make assets watchers run as singletons
Previously, multiple copies of the watchers started from the different
shells would run simultaneously, which left the possiblity of zombie
watchers, increased resource consumption, and incorrect results. This
fixes that problem by only starting a watcher if that same command isn't
already in the process list.

Fixes LMS-499
2013-06-20 09:21:49 -04:00
Calen Pennington
f4200127bc Make coffee watch message more informative
When running under watchmedo, coffee doesn't display any useful
information when it recompiles a changed file, so we make watchmedo echo
that information instead.
2013-06-20 09:18:58 -04:00
Calen Pennington
2e480f6404 Switch to standard coffee watcher
Using `ulimit -n` to set the limit much higher than the default of 256
in Darwin seems to avoid the `EMFILE` error that was plaguing our Mac
developers.
2013-06-20 09:18:11 -04:00
Calen Pennington
d99ad53ae9 Add system and env arguments to asset tasks
The preprocess task requires system and env arguments in order to
correctly load up the django environment to preprocess sass files to
inject themes.

In order for that task to recieve the arguments, all tasks that depend
on it also have to accept that same set of arguments.

This will all go away once the next evolution of themes arrives, which
will remove the preprocessing needed to inject theme names.
2013-06-20 09:17:51 -04:00
Calen Pennington
83af3e594f Use built-in rakelibdir feature
Rake by default imports all .rake files in the rakelib dir, so we can
use that rather than doing our own import loop.
2013-06-20 09:11:45 -04:00