Removed untyped contructor from ComponentRegistration and add a protected setter.
[castle.git] / Experiments / Generator / Generators / Project / Templates / Config.boo
blobed2dca50afbc1fcfee5de54828138b761515bb67
1 """
2 Global generators config file
3 Static variables (and methods) defined here are direcly
4 accessible from the generators.
5 """
6 class Config:
7 public static BaseNamespace = "<%= ClassName %>"
9 <% if DotNet1: %>
10 public static Framework = "net-1.1"
11 <% else: %>
12 public static Framework = "net-2.0"
13 <% end %>
15 # Paths to your models (your ActiveRecord classes)
16 public static ModelsBasePath = "app/models"
17 public static ModelsNamespace = "${BaseNamespace}.Models"
18 public static ModelsTestsBasePath = "test/models"
19 public static ModelsTestsNamespace = "${BaseNamespace}.Tests.Models"
21 # Paths to your controllers stuff
22 public static ControllersBasePath = "app/controllers"
23 public static ControllersNamespace = "${BaseNamespace}.Controllers"
24 public static ControllersTestsBasePath = "test/controllers"
25 public static ControllersTestsNamespace = "${BaseNamespace}.Tests.Controllers"
26 public static ActionExtension = "aspx" # change to rails if you like
27 public static ViewsBasePath = "app/views"
28 public static ViewEngineExtension = "vm" # options: boo, vm
29 public static StaticContentBasePath = "public/content"
30 public static StaticContentBaseUrl = "content"
31 public static HelpersBasePath = "app/helpers"
32 public static HelpersNamespace = "${BaseNamespace}.Helpers"
34 # Paths to your migration stuff
35 public static MigrationsBasePath = "db/migrations"
36 public static MigrationsNamespace = "${BaseNamespace}.Migrations"