Renamed lib module to playwright (#5)

This commit is contained in:
Ivan Krutov 2020-10-12 18:29:41 +03:00 committed by GitHub
parent 5caa422a04
commit dfc0ce6de0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
208 changed files with 4 additions and 5 deletions

View File

@ -27,9 +27,8 @@ jobs:
working-directory: driver working-directory: driver
run: npm install run: npm install
- name: Build with Maven - name: Build with Maven
run: mvn -B package -D skipTests --file lib/pom.xml run: mvn -B package -D skipTests
- name: Run tests - name: Run tests
working-directory: lib
run: mvn test run: mvn test
env: env:
BROWSER: ${{ matrix.browser }} BROWSER: ${{ matrix.browser }}

View File

@ -727,7 +727,7 @@ public class ApiGenerator {
ApiGenerator(Reader reader) throws IOException { ApiGenerator(Reader reader) throws IOException {
JsonObject api = new Gson().fromJson(reader, JsonObject.class); JsonObject api = new Gson().fromJson(reader, JsonObject.class);
File cwd = FileSystems.getDefault().getPath(".").toFile(); 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()); System.out.println("Writing files to: " + dir.getCanonicalPath());
for (Map.Entry<String, JsonElement> entry: api.entrySet()) { for (Map.Entry<String, JsonElement> entry: api.entrySet()) {
String name = entry.getKey(); String name = entry.getKey();

View File

Before

Width:  |  Height:  |  Size: 434 B

After

Width:  |  Height:  |  Size: 434 B

View File

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 346 B

View File

Before

Width:  |  Height:  |  Size: 413 B

After

Width:  |  Height:  |  Size: 413 B

View File

Before

Width:  |  Height:  |  Size: 434 B

After

Width:  |  Height:  |  Size: 434 B

View File

Before

Width:  |  Height:  |  Size: 403 B

After

Width:  |  Height:  |  Size: 403 B

View File

Before

Width:  |  Height:  |  Size: 422 B

After

Width:  |  Height:  |  Size: 422 B

View File

Before

Width:  |  Height:  |  Size: 445 B

After

Width:  |  Height:  |  Size: 445 B

Some files were not shown because too many files have changed in this diff Show More