Renamed lib module to playwright (#5)
5
.github/workflows/test.yml
vendored
@ -27,9 +27,8 @@ jobs:
|
||||
working-directory: driver
|
||||
run: npm install
|
||||
- name: Build with Maven
|
||||
run: mvn -B package -D skipTests --file lib/pom.xml
|
||||
run: mvn -B package -D skipTests
|
||||
- name: Run tests
|
||||
working-directory: lib
|
||||
run: mvn test
|
||||
env:
|
||||
BROWSER: ${{ matrix.browser }}
|
||||
BROWSER: ${{ matrix.browser }}
|
||||
|
@ -727,7 +727,7 @@ public class ApiGenerator {
|
||||
ApiGenerator(Reader reader) throws IOException {
|
||||
JsonObject api = new Gson().fromJson(reader, JsonObject.class);
|
||||
File cwd = FileSystems.getDefault().getPath(".").toFile();
|
||||
File dir = new File(cwd, "lib/src/main/java/com/microsoft/playwright");
|
||||
File dir = new File(cwd, "playwright/src/main/java/com/microsoft/playwright");
|
||||
System.out.println("Writing files to: " + dir.getCanonicalPath());
|
||||
for (Map.Entry<String, JsonElement> entry: api.entrySet()) {
|
||||
String name = entry.getKey();
|
||||
|
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 413 B After Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 422 B After Width: | Height: | Size: 422 B |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 445 B |