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"
4
4
5
5
MODULE_NAME=" JavaCommonsCSV"
6
6
MODULE_CONFIG_DIR=$( pwd) /Sources/$MODULE_NAME /
7
- MODULE_CONFIG_PATH=" $MODULE_CONFIG_DIR /swift-java.config"
8
7
9
8
# ## 1) downloads all the dependencies
10
9
" $JAVASWIFT " --fetch " $MODULE_CONFIG_DIR /swift-java.config" \
11
10
--module-name " $MODULE_NAME " \
12
11
--output-directory " $MODULE_CONFIG_DIR "
13
12
14
13
# ### 2) extract the config for the fetched dependency
14
+ # MODULE_CONFIG_PATH="$MODULE_CONFIG_DIR/swift-java.config"
15
15
# DEP_JAR_CP=$(jq .classpath "$MODULE_CONFIG_PATH")
16
16
# DEP_JAR_CP=$(echo "$DEP_JAR_CP" | tr -d '"') # trim the "..."
17
17
# # shellcheck disable=SC2086
Original file line number Diff line number Diff line change 2
2
3
3
echo " Prepare the dependency..."
4
4
git clone https://github.com/gazman-sdk/quadratic-sieve-Java
5
- cd quadratic-sieve-Java
5
+ cd quadratic-sieve-Java || exit
6
6
sh ./gradlew jar
7
- cd ..
7
+ cd .. || exit
8
8
9
9
echo " Run the sample..."
10
10
swift run JavaSieve
You can’t perform that action at this time.
0 commit comments