-
Notifications
You must be signed in to change notification settings - Fork 64
ASP.NET Compiler
You can run the ASP.NET Compiler on your web projects.
desc "Compile the website"
aspnetcompiler :compile => [:build] do |cmd|
cmd.physical_path = "path/to/webapp"
cmd.target_path = "path/to/target"
cmd.updateable
cmd.force
end
Specifies the physical path of the application to be compiled. If this parameter is missing, the IIS metabase is used to locate the application.
physical_path = "path/to/webapp"
The virtual path of the application to be compiled. If the Physical Path specified, the physical path is used to locate the application. Otherwise, the IIS metabase is used, and the application is assumed to be in the default site.
virtual_path = "/foo"
Specifies the physical path to which the application is compiled. If not specified, the application is precompiled in-place.
target_path = "path/to/target"
The precompiled application will be updateable.
updateable
Overwrite the target directory if it already exists, existing contents are lost.
force
The application will be built clean. Any previously compiled components will be recompiled.
clean
The strong-name assembly will allow partially trusted callers.
debug
The assembly is not fully signed when created.
delay_sign
The compiled assemblies will be given fixed names.
fixed_names
Hide the startup banner.
no_logo
(none)