Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
add makefile for easy installation for building from source
Browse files Browse the repository at this point in the history
  • Loading branch information
khyerdev committed Apr 27, 2024
1 parent ea44187 commit 8180c55
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
tcobalt:
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$$(rustc -vV | sed -n 's/host: //p')"

export CARGO_TARGET_DIR=target
cargo build --frozen --release --all-features

install:
install -Dm0755 -t "/usr/bin" "target/release/tcobalt"
ln -sf "/usr/bin/tcobalt" "/usr/bin/tcb"

0 comments on commit 8180c55

Please sign in to comment.