Skip to content

Commit

Permalink
added Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Mar 25, 2023
1 parent 1963f9d commit 53f8466
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,3 @@ keywords = [ "text-processing", "annotation", "linguistics", "standoff", "nlp"]
[dependencies]
stam = "0.3.0"
clap = "3.2.23"

#compile against development version: (doesn't work when building with maturin for pypi)
[patch.crates-io]
stam = { git = 'https://github.com/annotation/stam-rust.git' } #from git
#stam = { path = '../stam-rust' } #local

8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
all:
cargo build --release

install:
cargo install --path .

local:
cargo build --config 'patch.crates-io.stam.path="../stam-rust/"'

0 comments on commit 53f8466

Please sign in to comment.