Removed untyped contructor from ComponentRegistration and add a protected setter.
[castle.git] / Experiments / Generator / Generators / Config.boo
blob018f91eafa794b9d7f12a3810870d10a6e795590
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 = "TestProject"
9 public static Framework = "net-2.0"
11 # Paths to your models (your ActiveRecord classes)
12 public static ModelsBasePath = "app/models"
13 public static ModelsNamespace = "${BaseNamespace}.Models"
14 public static ModelsTestsBasePath = "test/models"
15 public static ModelsTestsNamespace = "${BaseNamespace}.Tests.Models"
17 # Paths to your controllers stuff
18 public static ControllersBasePath = "app/controllers"
19 public static ControllersNamespace = "${BaseNamespace}.Controllers"
20 public static ControllersTestsBasePath = "test/controllers"
21 public static ControllersTestsNamespace = "${BaseNamespace}.Tests.Controllers"
22 public static ActionExtension = "aspx" # change to rails if you like
23 public static ViewsBasePath = "app/views"
24 public static ViewEngineExtension = "vm" # options: brail, vm
25 public static StaticContentBasePath = "public/content"
26 public static StaticContentBaseUrl = "content"
27 public static HelpersBasePath = "app/helpers"
28 public static HelpersNamespace = "${BaseNamespace}.Helpers"
30 # Paths to your migration stuff
31 public static MigrationsBasePath = "db/migrations"
32 public static MigrationsNamespace = "${BaseNamespace}.Migrations"