We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents afe83ba + 6cddee2 commit 0658fc7Copy full SHA for 0658fc7
1 file changed
lib/tasks/temporary/ruby-pg.rake
@@ -0,0 +1,11 @@
1
+namespace :repos do
2
+ desc 'Create ruby-pg repo within ged organization'
3
+ task create_ruby_pg: :environment do
4
+ ActiveRecord::Base.transaction do
5
+ organization = Organization.create(name: 'ged', url: 'https://github.com/ged/')
6
+ repo = Repo.create(name: 'ruby-pg', url: 'https://github.com/ged/ruby-pg', organization_id: organization.id)
7
+ end
8
+
9
+ puts ' All done now!'
10
11
+end
0 commit comments