Skip to content
This repository has been archived by the owner on Mar 20, 2022. It is now read-only.

Commit

Permalink
Include more files in the sources artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenflippo committed Oct 27, 2019
1 parent 02af5c6 commit b0a7370
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tasks/generate-sources-artifact.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,26 @@ archive.on("error", function(err) {
archive.pipe(output);

archive.directory(path.resolve(__dirname, "../src"), "src");
archive.directory(path.resolve(__dirname, "../tasks"), "tasks");
archive.directory(path.resolve(__dirname, "../public/icons"), "public/icons");

archive.file(path.resolve(__dirname, "../public/manifest.json"), {
name: "manifest.json"
});
archive.file(path.resolve(__dirname, "../public/layout.css"), {
name: "public/layout.css"
});
archive.file(path.resolve(__dirname, "../rollup.config.js"), {
name: "rollup.config.js"
});
archive.file(path.resolve(__dirname, "../package.json"), {
name: "package.json"
});
archive.file(path.resolve(__dirname, "../package-lock.json"), {
name: "package-lock.json"
});
archive.file(path.resolve(__dirname, "../README.md"), {
name: "README.md"
});

archive.finalize();

0 comments on commit b0a7370

Please sign in to comment.