Skip to content

Commit

Permalink
Prep for publishing #7
Browse files Browse the repository at this point in the history
  • Loading branch information
jurihock committed Jun 25, 2023
1 parent 80c5165 commit 57ae947
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ repository = "https://github.com/jurihock/qdft"
description = "Constant-Q Sliding DFT"
readme = "README.md"
license = "MIT"
license-file = "LICENSE"
keywords = ["cqt", "constant-q", "sliding", "dft", "discrete", "fourier", "transform", "audio", "signal-processing", "dsp", "spectrum", "frequencies", "hz"]
categories = ["algorithms", "mathematics", "multimedia", "science"]

Expand Down
14 changes: 13 additions & 1 deletion rust/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
.PHONY: help build clean test bench analysis
.PHONY: help build clean test bench analysis upload upload-check

help:
@echo build
@echo clean
@echo test
@echo bench
@echo analysis
@echo upload
@echo upload-check

build:
@cargo build --workspace
Expand All @@ -25,3 +27,13 @@ analysis:
@cargo build --example analysis
@cargo run --example analysis
@python examples/analysis.py

upload:
@cp -f ../LICENSE ../README.md .
@cargo publish --allow-dirty
@rm -rf LICENSE README.md

upload-check:
@cp -f ../LICENSE ../README.md .
@cargo publish --allow-dirty --dry-run
@rm -rf LICENSE README.md

0 comments on commit 57ae947

Please sign in to comment.