Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import example #130

Merged
merged 3 commits into from
Mar 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions .vscode/scripts/import-example-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,23 @@ if [[ `git status --porcelain` ]]; then
echo "####################### WARNING #######################"
echo "#### Please commit or stash your changes before ####"
echo "#### importing the example app. ####"
echo "#### Otherwise all changes will be discarded! ####
"
echo "#### Otherwise all changes will be discarded! ####"
echo "####################### WARNING #######################"
else
rm -rf app/ && \
cp -a $SDV_EXAMPLES_PATH/$@ app && \
pip install -r ./app/requirements.txt && \
pip install -r ./app/tests/requirements-tests.txt
cp -a $SDV_EXAMPLES_PATH/$@/. app/

if [[ -f "./app/requirements.txt" ]]; then
pip install -r ./app/requirements.txt
fi

if [[ -f "./app/requirements-links.txt" ]]; then
pip install -r ./app/requirements-links.txt
fi

if [[ -f "./app/tests/requirements.txt" ]]; then
pip install -r ./app/tests/requirements.txt
fi

echo "#######################################################"
echo "Successfully imported $@"
echo "#######################################################"
Expand Down
2 changes: 1 addition & 1 deletion app/requirements-links.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git+https://github.com/eclipse-velocitas/vehicle-app-python-sdk.git@v0.8.1
git+https://github.com/eclipse-velocitas/vehicle-app-python-sdk.git@v0.8.2