Skip to content

Commit 2978bb9

Browse files
committed
fix: downloader
1 parent a4a46c3 commit 2978bb9

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ test:
4040
check-ucd-text:
4141
node scripts/check_ucd_text_not_baked.ts
4242

43-
update-all: clean download-ucd tables clib build test
43+
update-all: download-ucd tables clib build test

lakefile.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ target UnicodeCLib pkg : FilePath := do
2323
let name := nameToStaticLib "unicodeclib"
2424
buildStaticLib (pkg.sharedLibDir / name) oFiles
2525

26+
-- temporary fix for Windows
27+
meta if System.Platform.isWindows then
2628
extern_lib libunicodeclib := UnicodeCLib.fetch
2729

2830
lean_lib UnicodeBasicSupport where

scripts/download_unicode_data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { fileURLToPath } from 'node:url';
1313
const __filename = fileURLToPath(import.meta.url);
1414
const __dirname = path.dirname(__filename);
1515

16-
const dataDir = path.join(__dirname, 'data');
16+
const dataDir = path.join(__dirname, '..', 'data');
1717
const ucdDir = path.join(dataDir, 'ucd');
1818
const metaPath = path.join(ucdDir, '.download-meta.json');
1919

0 commit comments

Comments
 (0)