Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,14 @@ jobs:
- name: Build source package
run: |
make dist
- name: Build binary
run: |
make binstall
- name: Publish Release
uses: softprops/action-gh-release@v2
with:
files: |
decasify-${{ env.VERSION }}.zip
decasify-${{ env.VERSION }}.tar.zst
decasify-${{ env.VERSION }}.sha256.txt
decasify-${{ env.VERSION }}-x86_64-unknown-linux-gnu
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,6 @@ walm = "wasm"
[package.metadata.typos.files]
ignore-hidden = false
extend-exclude = ["/.git"]

[package.metadata.binstall]
pkg-fmt = "bin"
5 changes: 4 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,14 @@ sile-package: $(SILEASSETS)

check-local: busted pytest

PHONY_DEVELOPER_TARGETS = rockspecs srcrocks rocks install-luarock busted pytest release-preview reuse-lint
PHONY_DEVELOPER_TARGETS = rockspecs srcrocks rocks install-luarock busted pytest release-preview reuse-lint binstall
.PHONY: $(PHONY_DEVELOPER_TARGETS)

if DEVELOPER_MODE

binstall: @PACKAGE_NAME@$(EXEEXT)
cp $< $(<)-v$(VERSION)-$(CARGO_TARGET_TRIPLE)

lint: reuse-lint

reuse-lint:
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ Of course the bare binary can also be installed directly with Cargo:
$ cargo install --features cli decasify
```

If you want to save the trouble of building, you can also install a pre-built binary:

```console
$ cargo binstall decasify
```

Note the binary that installs can be directly downloaded by hand from the [latest release](https://github.com/alerque/decasify/releases/latest).
Set the executable bit and copy it to somewhere in your `$PATH` to use.

## Use as a Rust crate

In your `Cargo.toml` file.
Expand Down
Loading