Skip to content

Commit bd9e254

Browse files
committed
Add compile and detect
1 parent e289a5f commit bd9e254

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

bin/compile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
# taken from https://github.com/playwright-community/heroku-playwright-buildpack/blob/master/bin/compile
4+
set -e
5+
6+
BUILD_DIR=$1
7+
8+
# modify the installation location
9+
export PLAYWRIGHT_BROWSERS_PATH=$BUILD_DIR/browsers
10+
playwright install --with-deps chromium

bin/detect

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
# taken from https://github.com/playwright-community/heroku-playwright-buildpack/blob/master/bin/detect
4+
echo "Playwright"
5+
exit 0

0 commit comments

Comments
 (0)