Skip to content
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

Add Bundler and Rake tasks #10

Closed
wants to merge 4 commits into from
Closed

Add Bundler and Rake tasks #10

wants to merge 4 commits into from

Conversation

tubbo
Copy link
Contributor

@tubbo tubbo commented Mar 21, 2013

Uses Bundler for dependency management and Rake for calling methods on the jently_control.rb file. Rake is a common interface to shell scripts in most Ruby apps, so it will be familiar to Rubyists. The rake base task will determine whether a PID file exists or not, and if it does, it will assume the server is running and stop it. Otherwise, rake starts the server.

@tubbo
Copy link
Contributor Author

tubbo commented Mar 21, 2013

sorry for the PR nonsense, forked the wrong repo!

- Add server namespace and put stop/start into it. You can now
  call these tasks with `server:stop` and `server:start`.
- Add server task which toggles between stop & start based on
  existance of a PID file.
- Add logs:purge task for removing & retouching the `log` file
  at the root of the repo.
@@ -0,0 +1,35 @@
require 'bundler/setup'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👍

@vaneyckt
Copy link
Owner

vaneyckt commented Apr 7, 2013

Closing this one in favor of #19.

@vaneyckt vaneyckt closed this Apr 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants