Skip to content

Commit

Permalink
refactor: maccel-cli dir rename to just cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnarus-G committed Feb 2, 2024
1 parent d15e412 commit 14edab9
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Release_CLI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
run: |
set -x
cargo build --release --manifest-path=maccel-cli/Cargo.toml
cargo build --release --manifest-path=cli/Cargo.toml
OUTPUT_DIR="built/output"
mkdir -p "$OUTPUT_DIR"
echo "BUILT_ARCHIVES=$OUTPUT_DIR" >> $GITHUB_OUTPUT
BIN=maccel
ARCHIVE=$BIN-cli.tar.gz
BIN_PATH=maccel-cli/target/release/$BIN
BIN_PATH=cli/target/release/$BIN
strip $BIN_PATH;
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ uninstall:
update: uninstall install

build_cli:
cargo build --release --manifest-path=maccel-cli/Cargo.toml
cargo build --release --manifest-path=cli/Cargo.toml

udev_install: build_cli
sudo install -m 644 -v -D `pwd`/udev_rules/99-maccel.rules /usr/lib/udev/rules.d/99-maccel.rules
sudo install -m 755 `pwd`/maccel-cli/target/release/maccel /usr/local/bin/maccel
sudo install -m 755 `pwd`/cli/target/release/maccel /usr/local/bin/maccel
sudo install -m 755 -v -D `pwd`/udev_rules/maccel_bind /usr/lib/udev/maccel_bind

udev_uninstall:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 14edab9

Please sign in to comment.