Skip to content

Commit

Permalink
Wrap template generator code in an after_bundle block
Browse files Browse the repository at this point in the history
  • Loading branch information
marlo-longley committed Dec 5, 2023
1 parent 4983d62 commit ea70e42
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions template.demo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

gem 'blacklight', '>= 7.0'

run "bundle install"
after_bundle do
# run the blacklight install generator
options = ENV.fetch("BLACKLIGHT_INSTALL_OPTIONS", '--devise --marc')

# run the blacklight install generator
options = ENV.fetch("BLACKLIGHT_INSTALL_OPTIONS", '--devise --marc')
generate 'blacklight:install', options

generate 'blacklight:install', options

# run the database migrations
rake "db:migrate"
# run the database migrations
rake "db:migrate"
end

0 comments on commit ea70e42

Please sign in to comment.