We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66e3ff0 commit 8a87f65Copy full SHA for 8a87f65
2 files changed
build.sh
@@ -6,8 +6,9 @@ echo "Building dynamic c library from Swift code..."
6
swift package clean
7
swift build --configuration release
8
9
-# Copy the dlib that got created and paste it into the python_api folder
10
-# Assuming the .dylib or .so file is located in the .build/release/ directory
11
-cp .build/release/libLoopAlgorithmToPython.dylib ./python_api/
12
-
13
-echo "Library successfully copied to the python_api folder!"
+# Copy the library
+if cp .build/release/libLoopAlgorithmToPython.dylib ./python_api/; then
+ echo "Library successfully copied to the python_api folder!"
+else
+ echo "Failed to copy the library to the python_api folder."
14
+fi
requirements.txt
@@ -1 +1 @@
1
+pytest
0 commit comments