DEV: move discourse_dev gem to the core. (#13360)

And get avatar images from `discourse_dev_assets` gem.
This commit is contained in:
Vinoth Kannan
2021-06-14 20:34:44 +05:30
committed by GitHub
parent c44650eec5
commit 6abc45e57b
19 changed files with 913 additions and 10 deletions

15
lib/discourse_dev.rb Normal file
View File

@@ -0,0 +1,15 @@
# frozen_string_literal: true
module DiscourseDev
def self.config
@config ||= Config.new
end
def self.settings_file
File.join(root, "config", "settings.yml")
end
def self.root
File.expand_path("..", __dir__)
end
end