Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (14 sloc) 0.46 kB
edbb58e @sr open source it
authored
1 $: << "integrity/lib"
2 require ".bundle/environment"
3
4 require "integrity"
5 require "integrity/notifier/irc"
6
7 db_config = YAML.load_file("config/database.yml").
8 fetch(ENV["RACK_ENV"]).
9 values_at("username", "password", "database")
10
11 Integrity.configure do |c|
12 c.database "postgres://%s:%s@localhost/%s" % db_config
13 c.directory "/tmp/integrity-builds"
14 c.log File.expand_path("../log/integrity.log", __FILE__)
15 c.builder :resque
16 c.build_all!
17 end
Something went wrong with that request. Please try again.