0
我试图将IIS配置为使用Grunt中的指定目录。安装IIS将创建“默认网站”并为此设置路径。将IIS配置为使用Grunt中的指定目录
我想让Grunt配置IIS根据它所在的机器使用一个设置目录。
我试图做到这一点是通过使用本网站的方式:https://www.npmjs.com/package/grunt-iis#options-path
我已经使用各种选项和任务,甚至下降到只使用your_target和physicalPath。但我没有运气。
grunt.initConfig({
iis: {
developer: {
physicalPath : __dirname,
site : 'Default Web Site',
path : 'NewSite',
pool : 'NewSite',
managedRuntimeVersion : 'v4.0'
}
},
});
请有人可以帮助我这个。
感谢, 山姆