sam / doubleshot

Build and Dependency Management for mixed Java/Ruby projects.
MIT License
19 stars 22 forks source link

Add a tmp/test.pid file so two test processes can't run simultaneously #45

Closed sam closed 12 years ago

sam commented 12 years ago

Right now you can run bin/doubleshot test twice if you forgot about another open shell already running it. We should warn & exit.

sam commented 12 years ago

Right. Maybe Pathname("/tmp") then? Or a dotfile at-least? Pathname(".doubleshot_test.pid") (which is the same as what you've got, just a dotfile).

I dunno, just not in love with the idea of it dropping a pidfile in plain sight for git to pickup ya know?

ckrailo commented 12 years ago

Done.

sam commented 12 years ago

Thanks. Merged.