Skip to content

Commit 208a98f

Browse files
committed
Upgrade raxml-ng to v1.1.0
1 parent 5db8896 commit 208a98f

File tree

3 files changed

+258
-116
lines changed

3 files changed

+258
-116
lines changed

scripts/download-binaries.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,40 @@ const download = require('download');
44

55
const osName = (() => {
66
switch (process.platform) {
7-
case "darwin":
8-
return "Mac";
9-
case "win32":
10-
return "Windows";
7+
case 'darwin':
8+
return 'Mac';
9+
case 'win32':
10+
return 'Windows';
1111
default:
12-
return "Linux";
12+
return 'Linux';
1313
}
1414
})();
1515

16-
const binariesBaseDir = "https://github.com/AntonelliLab/raxmlGUI-binaries/releases/download/v21.10.04";
16+
const binariesBaseDir =
17+
'https://github.com/AntonelliLab/raxmlGUI-binaries/releases/download/v22.02.21';
1718
const binariesUrl = `${binariesBaseDir}/${osName}.zip`;
1819

19-
const binPath = path.join(__dirname, "..", "static", "bin");
20-
const raxmlNgPath = path.join(binPath, "raxml-ng");
20+
const binPath = path.join(__dirname, '..', 'static', 'bin');
21+
const raxmlNgPath = path.join(binPath, 'raxml-ng');
2122

2223
(async () => {
23-
console.log("Check binaries...");
24+
console.log('Check binaries...');
2425
let exist = true;
2526
try {
26-
await fs.access(raxmlNgPath, );
27+
await fs.access(raxmlNgPath);
2728
} catch (_) {
2829
exist = false;
2930
}
3031

3132
if (exist) {
32-
console.log("Binaries exist!");
33+
console.log('Binaries exist!');
3334
return;
3435
}
3536

3637
console.log(`Binaries missing, downloading from '${binariesUrl}'...`);
3738

38-
await download(binariesUrl, binPath, {
39+
await download(binariesUrl, binPath, {
3940
extract: true,
4041
});
41-
console.log("Done!")
42-
42+
console.log('Done!');
4343
})();

0 commit comments

Comments
 (0)