text: ﻿/// <binding AfterBuild='exec:package' />
  /*
  This file in the main entry point for defining grunt tasks and using grunt plugins.
  Click here to learn more. http://go.microsoft.com/fwlink/?LinkID=513275&clcid=0x409
  */
  module.exports = function (grunt) {
      grunt.initConfig({
          pkg: grunt.file.readJSON("package.json"),
          exec: {
              package: {
                  command: "tfx extension create --manifest-globs vss-extension.json",
                  stdout: true,
                  stderr: true
              },
              publish: {
                  command: "tfx extension publish  --manifest-globs vss-extension.json --publisher #mypublisher# --token #token#",
                  stdout: true,
                  stderr: true
              }
          },
          jasmine: {
              src: ["scripts/**/*.js", "sdk/**/*.js"],
              specs: "test/**/*[sS]pec.js",
              helpers: "test/helpers/*.js"
          }
      });
  
      grunt.loadNpmTasks("grunt-exec");
      grunt.loadNpmTasks("grunt-contrib-jasmine");
  
  };