@@ -62,30 +62,23 @@ The extract tool may become able to generate legacy compatible sources, which wo
62
62
63
63
## Development and Testing
64
64
65
- This project contains quite a few builds, Swift, Java, and depends on some custom steps .
65
+ This project contains multiple builds, living sid3e by side together .
66
66
67
- Easiest way to get going is to :
67
+ Depending on which part you are developing, you may want to run just the swift tests :
68
68
69
69
``` bash
70
- make javakit-run # Run the JavaKit example of Swift code using Java libraries
71
- make jextract-run # Run the jextract-swift example of Java code using Swift libraries
72
- swift test # test all Swift code, e.g. jextract-swift
73
- ./gradlew test # test all Java code, including integration tests that actually use jextract-ed sources
70
+ > swift test
74
71
```
75
72
76
- To test on Linux using Docker you can:
73
+ or the Java tests through the Gradle build. The Gradle build may also trigger some Swift compilation because of
74
+ interlinked dependencies of the two parts of Swift-Java. To run the Java build and tests use the Gradle wrapper script:
77
75
78
- ``` bash
79
- # run only Swift tests (i.e. swift test)
80
- docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.main.yaml run test-swift
81
-
82
- # run only Java tests (i.e. gradle test)
83
- docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.main.yaml run test-java
84
-
85
- # run all tests
86
- docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.main.yaml run test
76
+ ``` bash
77
+ > ./gradlew test
87
78
```
88
79
80
+ Currently it is suggested to use Swift 6.0 and a Java 24+.
81
+
89
82
### Sample Apps
90
83
91
84
Sample apps are located in the ` Samples/ ` directory, and they showcase full "roundtrip" usage of the library and/or tools.
0 commit comments