-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile.lesli
62 lines (47 loc) · 1.72 KB
/
Gemfile.lesli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
=begin
Lesli
Copyright (c) 2023, Lesli Technologies, S. A.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
Lesli · Ruby on Rails SaaS Development Framework.
Made with ♥ by https://www.lesli.tech
Building a better future, one line of code at a time.
@contact [email protected]
@website https://www.lesli.tech
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
// ·
=end
# List of Lesli engines to be installed
LESLI_ENGINES = [
"Lesli",
#"LesliBell",
#"LesliAdmin",
#"LesliBabel",
#"LesliAudit",
"LesliShield",
#"LesliSupport",
#"LesliSecurity",
#"LesliCalendar",
#"LesliDashboard"
]
LESLI_ENGINES.each do |engine_name|
# get the engine folder name (development only)
engine_code = engine_name.gsub(/([a-z\d])([A-Z])/, '\1_\2').downcase
# if the engine is installed locally
if Dir.exist?("#{File.dirname(__FILE__)}/engines/#{engine_name}")
# load engine from source code
gem "#{engine_code}", path: "engines/#{engine_name}"
else
# install engine from rubygems
gem "#{engine_code}"
end
end