mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add gulp-msbuild package
This commit is contained in:
parent
83230ae14e
commit
067512a2d3
21
types/gulp-msbuild/gulp-msbuild-tests.ts
Normal file
21
types/gulp-msbuild/gulp-msbuild-tests.ts
Normal file
@ -0,0 +1,21 @@
|
||||
import * as msbuild from "gulp-msbuild";
|
||||
|
||||
let stream = msbuild({
|
||||
stdout: false,
|
||||
stderr: true,
|
||||
errorOnFail: false,
|
||||
logCommand: false,
|
||||
targets: ['Rebuild'],
|
||||
configuration: 'Release',
|
||||
toolsVersion: 4.0,
|
||||
architecture: 'x86',
|
||||
properties: { WarningLevel: 2 },
|
||||
verbosity: 'quiet',
|
||||
maxcpucount: 0,
|
||||
nodeReuse: true,
|
||||
nologo: false,
|
||||
fileLoggerParameters: 'LogFile=Build.log;Append;Verbosity=diagnostic',
|
||||
consoleLoggerParameters: '',
|
||||
loggerParameters: 'XMLLogger,./MyLogger.dll;OutputAsHTML',
|
||||
emitEndEvent: false
|
||||
});
|
||||
33
types/gulp-msbuild/index.d.ts
vendored
Normal file
33
types/gulp-msbuild/index.d.ts
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
// Type definitions for gulp-msbuild 0.5
|
||||
// Project: https://github.com/hoffi/gulp-msbuild#readme
|
||||
// Definitions by: Spicy Pixel <http://spicypixel.com>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
declare namespace gulpMsBuild {
|
||||
type GulpMsBuild = (options?: Options) => NodeJS.ReadWriteStream;
|
||||
|
||||
interface Options {
|
||||
stdout?: boolean; // false
|
||||
stderr?: boolean; // true
|
||||
errorOnFail?: boolean; // false
|
||||
logCommand?: boolean; // false
|
||||
targets?: string[]; // ['Rebuild']
|
||||
configuration?: string; // 'Release' | 'Debug'
|
||||
toolsVersion?: number; // 4.0
|
||||
architecture?: string; // 'x86' | 'x64'
|
||||
properties?: any; // msbuild({ properties: { WarningLevel: 2 } })
|
||||
verbosity?: string; // 'quiet', 'minimal', 'normal', 'detailed', 'diagnostic'
|
||||
maxcpucount?: number; // Default: 0 = Automatic selection | Possible Values: -1 (MSBuild Default), 0 (Automatic), > 0 (Concrete value)
|
||||
nodeReuse?: boolean; // true = Nodes remain after the build finishes so that subsequent builds can use them
|
||||
nologo?: boolean; // false -> Show Startup Banner and Copyright Message
|
||||
fileLoggerParameters?: string; // msbuild({ fileLoggerParameters: 'LogFile=Build.log;Append;Verbosity=diagnostic' })
|
||||
consoleLoggerParameters?: string;
|
||||
loggerParameters?: string; // msbuild({ loggerParameters: 'XMLLogger,./MyLogger.dll;OutputAsHTML' })
|
||||
emitEndEvent?: boolean; // false
|
||||
}
|
||||
}
|
||||
|
||||
declare var gulpMsBuild: gulpMsBuild.GulpMsBuild;
|
||||
export = gulpMsBuild;
|
||||
22
types/gulp-msbuild/tsconfig.json
Normal file
22
types/gulp-msbuild/tsconfig.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"gulp-msbuild-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/gulp-msbuild/tslint.json
Normal file
1
types/gulp-msbuild/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Loading…
Reference in New Issue
Block a user