File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ JAVASWIFT="../../.build/debug/Java2Swift"
44
55MODULE_NAME=" JavaCommonsCSV"
66MODULE_CONFIG_DIR=$( pwd) /Sources/$MODULE_NAME /
7- MODULE_CONFIG_PATH=" $MODULE_CONFIG_DIR /swift-java.config"
87
98# ## 1) downloads all the dependencies
109" $JAVASWIFT " --fetch " $MODULE_CONFIG_DIR /swift-java.config" \
1110 --module-name " $MODULE_NAME " \
1211 --output-directory " $MODULE_CONFIG_DIR "
1312
1413# ### 2) extract the config for the fetched dependency
14+ # MODULE_CONFIG_PATH="$MODULE_CONFIG_DIR/swift-java.config"
1515# DEP_JAR_CP=$(jq .classpath "$MODULE_CONFIG_PATH")
1616# DEP_JAR_CP=$(echo "$DEP_JAR_CP" | tr -d '"') # trim the "..."
1717# # shellcheck disable=SC2086
Original file line number Diff line number Diff line change 22
33echo " Prepare the dependency..."
44git clone https://github.com/gazman-sdk/quadratic-sieve-Java
5- cd quadratic-sieve-Java
5+ cd quadratic-sieve-Java || exit
66sh ./gradlew jar
7- cd ..
7+ cd .. || exit
88
99echo " Run the sample..."
1010swift run JavaSieve
You can’t perform that action at this time.
0 commit comments