-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from neatwork-ai/hotfix-lazy-api-key-model-setup
Hotfix lazy api key model setup
- Loading branch information
Showing
11 changed files
with
117 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/bin/bash | ||
|
||
# Get the directory | ||
DIR="$(dirname "$0")" | ||
|
||
# Run the first script | ||
bash "$DIR/build_wasm.sh" | ||
|
||
# Check if the first script ran successfully | ||
if [ $? -eq 0 ]; then | ||
echo "Built WASM Library successfully" | ||
else | ||
echo "WASM Lib failed" | ||
exit 1 | ||
fi | ||
|
||
# Run the second script | ||
bash "$DIR/build_webview.sh" | ||
|
||
# Check if the second script ran successfully | ||
if [ $? -eq 0 ]; then | ||
echo "Built VSCE successfully" | ||
else | ||
echo "VSCE failed" | ||
exit 1 | ||
fi | ||
|
||
#!/bin/sh | ||
|
||
# Navigate to the wasm-lib directory | ||
cd vsce/ | ||
|
||
# Compile the wasm library (assuming you're using wasm-pack) | ||
vsce publish | ||
|
||
cd ../ | ||
|
||
|
||
# # Check if the second script ran successfully | ||
# if [ $? -eq 0 ]; then | ||
# echo "Built VSCE successfully" | ||
# else | ||
# echo "VSCE failed" | ||
# exit 1 | ||
# fi | ||
|
||
echo "Publishing complete" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "neatcoder" | ||
version = "0.2.0" | ||
version = "0.2.1" | ||
edition = "2021" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters