grunt-breezets
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -268,1 +268,37 @@ C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\options.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\grunt_breezets.d.ts | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.js | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.js.map | ||
C:\Users\Thomas\Source\Repos\BreezeTypedefExtractor\node\grunt-breezets\tasks\index.d.ts |
{ | ||
"name": "grunt-breezets", | ||
"description": "grunt-breezets", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"homepage": "https://github.com/tschaumburg/breezets", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -25,14 +25,14 @@ /* | ||
console.log('breezeinfoFile: %s', options.breezeinfoFile); | ||
console.log('metadataurl: %s', options.metadataurlValue); | ||
console.log('metadatacache: %s', options.metadataCache); | ||
console.log('outdir: %s', options.outdir); | ||
console.log('servicename: %s', options.servicename); | ||
console.log('serviceurl: %s', options.serviceurl); | ||
console.log('namespace: %s', options.namespace); | ||
console.log('proxyname: %s', options.proxyname); | ||
console.log('typedqueries: %s', options.typedqueries); | ||
console.log('extensions: %s', options.extensions); | ||
grunt.log.writeln('breezeinfoFile: %s', options.breezeinfoFile); | ||
grunt.log.writeln('metadataurl: %s', options.metadataurlValue); | ||
grunt.log.writeln('metadatacache: %s', options.metadataCache); | ||
grunt.log.writeln('outdir: %s', options.outdir); | ||
grunt.log.writeln('servicename: %s', options.servicename); | ||
grunt.log.writeln('serviceurl: %s', options.serviceurl); | ||
grunt.log.writeln('namespace: %s', options.namespace); | ||
grunt.log.writeln('proxyname: %s', options.proxyname); | ||
grunt.log.writeln('typedqueries: %s', options.typedqueries); | ||
grunt.log.writeln('extensions: %s', options.extensions); | ||
impl.callGenerate(options.outdir, options.metadataurlValue, null, options.servicename, options.serviceurl, options.namespace, options.proxyname, options.typedqueries, options.extensions); | ||
impl.callGenerate(grunt, options.outdir, options.metadataurlValue, null, options.servicename, options.serviceurl, options.namespace, options.proxyname, options.typedqueries, options.extensions); | ||
}); | ||
@@ -47,3 +47,3 @@ | ||
{ | ||
export function callGenerate(outdir, metadataUrl, cachedMetadata, servicename, serviceurl, namespace, proxyname, typedqueries, extensions) | ||
export function callGenerate(grunt, outdir, metadataUrl, cachedMetadata, servicename, serviceurl, namespace, proxyname, typedqueries, extensions) | ||
{ | ||
@@ -58,4 +58,4 @@ var metadata = breezets.getMetadata(metadataUrl, cachedMetadata); | ||
var contents = files[n].contents; | ||
console.log(filename + ":"); | ||
console.log("============================="); | ||
grunt.log.writeln(filename + ":"); | ||
grunt.log.writeln("============================="); | ||
fs.writeFileSync(filename, contents); | ||
@@ -62,0 +62,0 @@ } |
@@ -20,13 +20,13 @@ /* | ||
throw new Error("metadata"); //done(false);//program.help(); | ||
console.log('breezeinfoFile: %s', options.breezeinfoFile); | ||
console.log('metadataurl: %s', options.metadataurlValue); | ||
console.log('metadatacache: %s', options.metadataCache); | ||
console.log('outdir: %s', options.outdir); | ||
console.log('servicename: %s', options.servicename); | ||
console.log('serviceurl: %s', options.serviceurl); | ||
console.log('namespace: %s', options.namespace); | ||
console.log('proxyname: %s', options.proxyname); | ||
console.log('typedqueries: %s', options.typedqueries); | ||
console.log('extensions: %s', options.extensions); | ||
impl.callGenerate(options.outdir, options.metadataurlValue, null, options.servicename, options.serviceurl, options.namespace, options.proxyname, options.typedqueries, options.extensions); | ||
grunt.log.writeln('breezeinfoFile: %s', options.breezeinfoFile); | ||
grunt.log.writeln('metadataurl: %s', options.metadataurlValue); | ||
grunt.log.writeln('metadatacache: %s', options.metadataCache); | ||
grunt.log.writeln('outdir: %s', options.outdir); | ||
grunt.log.writeln('servicename: %s', options.servicename); | ||
grunt.log.writeln('serviceurl: %s', options.serviceurl); | ||
grunt.log.writeln('namespace: %s', options.namespace); | ||
grunt.log.writeln('proxyname: %s', options.proxyname); | ||
grunt.log.writeln('typedqueries: %s', options.typedqueries); | ||
grunt.log.writeln('extensions: %s', options.extensions); | ||
impl.callGenerate(grunt, options.outdir, options.metadataurlValue, null, options.servicename, options.serviceurl, options.namespace, options.proxyname, options.typedqueries, options.extensions); | ||
}); | ||
@@ -39,3 +39,3 @@ grunt.task.registerMultiTask('dolog', 'Log stuff.', function () { | ||
(function (impl) { | ||
function callGenerate(outdir, metadataUrl, cachedMetadata, servicename, serviceurl, namespace, proxyname, typedqueries, extensions) { | ||
function callGenerate(grunt, outdir, metadataUrl, cachedMetadata, servicename, serviceurl, namespace, proxyname, typedqueries, extensions) { | ||
var metadata = breezets.getMetadata(metadataUrl, cachedMetadata); | ||
@@ -47,4 +47,4 @@ var files = breezets.generateTypescript(servicename, metadata, serviceurl, namespace, proxyname, typedqueries, extensions, [{ key: "flavor", value: "mmm...chocolate" }]); | ||
var contents = files[n].contents; | ||
console.log(filename + ":"); | ||
console.log("============================="); | ||
grunt.log.writeln(filename + ":"); | ||
grunt.log.writeln("============================="); | ||
fs.writeFileSync(filename, contents); | ||
@@ -51,0 +51,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109732