Skip to content

Commit

Permalink
update name to clnrest-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
daywalker90 committed Jul 28, 2024
1 parent ceac7d2 commit ef65a9d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ jobs:
python -m grpc_tools.protoc --proto_path="proto" --python_out="tests" --grpc_python_out="tests" proto/*.proto
fi
cargo build
sudo cp target/debug/clnrest /usr/local/libexec/c-lightning/plugins/clnrest/clnrest
sudo cp target/debug/clnrest /usr/local/libexec/c-lightning/plugins/clnrest/clnrest.py
sudo cp target/debug/clnrest-rs /usr/local/libexec/c-lightning/plugins/clnrest/clnrest
sudo cp target/debug/clnrest-rs /usr/local/libexec/c-lightning/plugins/clnrest/clnrest.py
fi
- name: Run tests
Expand All @@ -187,5 +187,4 @@ jobs:
export PYTEST_TIMEOUT=600
export RUST=1
source venv/bin/activate
ls -al venv/bin
venv/bin/pytest -n=5 tests/test_*.py
pytest -n=5 tests/test_*.py
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "clnrest"
name = "clnrest-rs"
version = "0.1.0"
edition = "2021"
license = "MIT"
Expand Down
3 changes: 2 additions & 1 deletion tests/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ else
exit 1
fi

cp "$clnrest_dir/clnrest" "$clnrest_dir/clnrest.py"
cp "$clnrest_dir/clnrest-rs" "$clnrest_dir/clnrest"
cp "$clnrest_dir/clnrest-rs" "$clnrest_dir/clnrest.py"

# Function to check if a Python package is installed
check_package() {
Expand Down

0 comments on commit ef65a9d

Please sign in to comment.