old_contents: "use strict";
  
  const
      IO_PATH = "../ArnaudBuchholz.github.io/",
      fs = require("fs"),
      copy = {
          publishVersionPlato: {},
          publishVersion: {},
          publishVersionDoc: {},
          publishTest: {},
          publishTestRequire: {},
          publishTestData: {},
          instrumentSourcesJson: {
              expand: true,
              cwd: "./src/",
              src: "**/*.json",
              dest: "./tmp/coverage/instrument/src/"
          }
      };
  
  if (fs.existsSync(IO_PATH)) {
      Object.assign(copy, {
          publishVersionPlato: {
              expand: true,
              cwd: "./tmp/plato/",
              src: "**/*.*",
              dest: IO_PATH + "gpf/plato/"
          },
          publishVersion: {
              expand: true,
              cwd: "./build/",
              src: ["gpf.js", "gpf-debug.js", "tests.js"],
              dest: IO_PATH + "gpf/" + configuration.pkg.version + "/"
          },
          publishVersionDoc: {
              expand: true,
              cwd: "./tmp/doc/public",
              src: "**/*.*",
              dest: IO_PATH + "gpf/doc/"
          },
          publishTest: {
              expand: true,
              cwd: "./test/host/",
              src: ["test.html", "bdd.js"],
              dest: IO_PATH + "gpf/"
          },
          publishTestRequire: {
              expand: true,
              cwd: "./test/require/",
              src: "**/*.*",
              dest: IO_PATH + "gpf/test-resources/require"
          },
          publishTestData: {
              expand: true,
              cwd: "./test/data/",
              src: "**/*.*",
              dest: IO_PATH + "gpf/test-resources/data"
          }
      });
  }
  
  module.exports = copy;
  
new_contents: "use strict";
  
  const PUBLISH_PATH = "tmp/ArnaudBuchholz.github.io/";
  
  module.exports = {
      publishVersionPlato: {
          expand: true,
          cwd: "./tmp/plato/",
          src: "**/*.*",
          dest: PUBLISH_PATH + "gpf/plato/"
      },
      publishVersion: {
          expand: true,
          cwd: "./build/",
          src: ["gpf.js", "gpf-debug.js", "tests.js"],
          dest: PUBLISH_PATH + "gpf/" + configuration.pkg.version + "/"
      },
      publishVersionDoc: {
          expand: true,
          cwd: "./tmp/doc/public",
          src: "**/*.*",
          dest: PUBLISH_PATH + "gpf/doc/"
      },
      publishTest: {
          expand: true,
          cwd: "./test/host/",
          src: ["test.html", "bdd.js"],
          dest: PUBLISH_PATH + "gpf/"
      },
      publishTestRequire: {
          expand: true,
          cwd: "./test/require/",
          src: "**/*.*",
          dest: PUBLISH_PATH + "gpf/test-resources/require"
      },
      publishTestData: {
          expand: true,
          cwd: "./test/data/",
          src: "**/*.*",
          dest: PUBLISH_PATH + "gpf/test-resources/data"
      },
      instrumentSourcesJson: {
          expand: true,
          cwd: "./src/",
          src: "**/*.json",
          dest: "./tmp/coverage/instrument/src/"
      }
  };
  
subject: Simplify publish (#237)