在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):ScottWeinstein/gulp-war开源软件地址(OpenSource Url):https://github.com/ScottWeinstein/gulp-war开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):gulp-warJava WAR plugin for gulp. Adapted from grunt-war UsageFirst, install npm install --save-dev gulp-war
npm install --save-dev gulp-zip Then, add it to your gulp.task('war', function () {
gulp.src(["*.js", "*.md", "test/*.js"])
.pipe(war({
welcome: 'index.html',
displayName: 'Grunt WAR',
}))
.pipe(zip('myApp.zip'))
.pipe(gulp.dest("./dist"));
}); APIwar(options)options.welcomeType: options.displayNameType: options.versionType: Defines the version of web-app xml specification to use. By default "3.0". options.schemaLocationType: Defines the URI of web-app xml specification to use. By default http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd options.webappExtrasType: Allows you to pass a list of strings that will be added to the end of resulting XML file. Instead of strings you can pass a list of functions, in this case the results of functions will be added to the template. By default webappExtras is an empty array; License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论