@{/* kpm-publish Builds project. Downloads and executes k sdk tools. sourcePackagesDir='' Required. Path to packages to install (skips symbol packages) targetPackagesDir='' Optional. Path to publish packages. */} default targetPackagesDir='' @{ var packages = Directory.EnumerateFiles(sourcePackagesDir, "*.nupkg") .Where(p => !p.EndsWith(".symbols.nupkg")); } dnu command='packages add ${package} ${targetPackagesDir}' each='var package in packages'