Skip to content

Commit b72e1df

Browse files
committed
use make for the test as well
1 parent 16ad3a5 commit b72e1df

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

packages/rollup-plugin-gettext/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build:
44
npx tsc -p tsconfig.lib.json
55

66
test/mo:
7-
cd test && npm run compile-mo
7+
cd test && $(MAKE) compile-mo
88

99
# for some reason vitest --typecheck doesn't actually fail when there are type
1010
# errors for me, so I'm running tsc here as a workaround
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extract:
2+
xgettext index.test.ts --language=javascript -o messages.pot
3+
4+
compile-mo:
5+
parallel msgfmt '{}' -o mo/'{/.}'.mo ':::' po/*.po

packages/rollup-plugin-gettext/test/package.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)