Skip to content

Commit 0554c77

Browse files
Updated makefile to run yarn commands on build
1 parent ee38731 commit 0554c77

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

MANIFEST.SKIP

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,9 @@ jest.config.js
4949
Dockerfile
5050
Dockerfile.dev
5151
.eslintignore
52+
.vscode
53+
.yarnclean
54+
config.yml
55+
56+
_Inline
57+

Makefile.PL

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ use strict;
22
use warnings;
33
use ExtUtils::MakeMaker;
44

5+
if(!`which yarn`) {
6+
die "yarn is not installed. Please install yarn to build this project.\n";
7+
}
8+
print `yarn`;
9+
print `yarn build --no-watch`;
10+
511
# Normalize version strings like 6.30_02 to 6.3002,
612
# so that we can do numerical comparisons on it.
713
my $eumm_version = $ExtUtils::MakeMaker::VERSION;

0 commit comments

Comments
 (0)