Skip to content

Commit

Permalink
Use new pesy template
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasJayanth committed Feb 29, 2024
1 parent 270446f commit 2b75e73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions npm-cli/scripts/vendor-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const path = require("path");
const cp = require("child_process");
const util = require("util");

let tag = "0.1.0-alpha.20";
let tag = "0.1.0-alpha.21";
let url = `https://github.com/esy/pesy-reason-template/archive/${tag}.zip`;
let downloadAs = "template.zip";
let extractedDirName = `pesy-reason-template-${tag}`;
Expand Down Expand Up @@ -33,7 +33,7 @@ let fetch = (url) => {
} else {
return downloadFromHTTPStream(
response,
path.resolve(templateDir, zipFile)
path.resolve(templateDir, zipFile),
);
}
});
Expand Down Expand Up @@ -61,15 +61,15 @@ let main = () => {
`Extracting (entering: ${path.resolve(
__dirname,
"..",
templateDir
)})...`
templateDir,
)})...`,
);
return Promise.resolve(
cp
.execSync("unzip -o template.zip", {
cwd: path.resolve(__dirname, "..", templateDir),
})
.toString()
.toString(),
);
}
})
Expand Down
2 changes: 1 addition & 1 deletion npm-cli/src/DefaultTemplate.re
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let path =
Path.resolve([|
dirname,
"templates",
"pesy-reason-template-0.1.0-alpha.20", /* Must be the same as ./script/vendor-template.js */
"pesy-reason-template-0.1.0-alpha.21", /* Must be the same as ./script/vendor-template.js */
|]);

let ciPath = Path.resolve([|dirname, "templates", "ci"|]);
Expand Down

0 comments on commit 2b75e73

Please sign in to comment.