Skip to content

Commit

Permalink
Configure
Browse files Browse the repository at this point in the history
  • Loading branch information
divanvisagie committed Jul 9, 2024
1 parent cc49091 commit 6e9094d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ build: src/main.rs
clean:
cargo clean

check:
cargo check

run: build
sudo ./target/debug/$(BIN)

5 changes: 5 additions & 0 deletions configure
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash

# Install rust if not present
if ! command_exists rustc; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
fi
sudo apt install -y libevdev-dev
sudo apt install -y libudev-dev
sudo apt install -y libinput-dev

0 comments on commit 6e9094d

Please sign in to comment.