Skip to content

Commit 17848c0

Browse files
committed
add commands to package the construct
1 parent e76b556 commit 17848c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ lint: lint-node lint-githubactions lint-githubaction-scripts
3131

3232
clean:
3333
rm -rf packages/cdkConstructs/lib
34+
rm -f packages/cdkConstructs/NHSDigital-eps-cdk-constructs-1.0.0.tgz
3435

3536
deep-clean: clean
3637
rm -rf .venv
@@ -53,3 +54,8 @@ aws-login:
5354

5455
test:
5556
npm run test --workspace packages/cdkConstructs
57+
58+
package:
59+
npm run build --workspace packages/cdkConstructs
60+
mkdir -p lib/
61+
npm pack --workspace packages/cdkConstructs --pack-destination lib/

0 commit comments

Comments
 (0)