Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
24 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1,2 @@ | |||
*.swp | *.swp | ||
data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,4 @@ | |||
* git update --init | * git update --init | ||
* sudo gem19 install sequel sqlite3-ruby | * sudo gem19 install sequel sqlite3-ruby | ||
* ruby19 ./bin/init | * rake init | ||
* ruby19 ./bin/update-active-tickets | * rake update_open_tickets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
$:.unshift File.expand_path("../lib", __FILE__) | |||
|
|||
desc "Initialize the db" | |||
task :init do | |||
require "macruby_bugmash_bot/db" | |||
mkdir_p(File.dirname(DB.db_path)) | |||
DB.create! | |||
end | |||
|
|||
desc "Update the open tickets" | |||
task :update_open_tickets do | |||
require "macruby_bugmash_bot/db" | |||
DB.update_open_tickets! | |||
end | |||
|
|||
desc "Run the bot" | |||
task :run do | |||
require "macruby_bugmash_bot" | |||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters