We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba0d5c6 commit 76d3af8Copy full SHA for 76d3af8
1 file changed
.github/scripts/build.sh
@@ -5,18 +5,14 @@ set -e
5
6
# Define variables for paths
7
PACKAGE_DIR="nemoguardrails"
8
-CHAT_UI_SRC="chat-ui"
9
EXAMPLES_SRC="examples"
10
-CHAT_UI_DST="$PACKAGE_DIR/chat-ui"
11
EXAMPLES_DST="$PACKAGE_DIR/examples"
12
13
# Copy the directories into the package directory
14
-cp -r "$CHAT_UI_SRC" "$CHAT_UI_DST"
15
cp -r "$EXAMPLES_SRC" "$EXAMPLES_DST"
16
17
# Build the wheel using Poetry
18
poetry build
19
20
# Remove the copied directories after building
21
-rm -rf "$CHAT_UI_DST"
22
rm -rf "$EXAMPLES_DST"
0 commit comments