From ac003a6e8c936169fcf2d9b3535fdb5a8d155411 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 24 Oct 2025 20:34:42 +0530 Subject: Create release.yml gh action workflow + update brick --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ README.md | 12 ++++++++---- daffm.cabal | 2 +- 3 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..a16b56e --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: Release + +on: workflow_dispatch + +permissions: + contents: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: haskell-actions/setup@v2 + with: + ghc-version: '8.8' + cabal-version: '3.0.0.0' + cabal-update: true + - name: Build tarball + run: make dist + - name: Release + uses: softprops/action-gh-release@v2 + with: + draft: fales + overwrite_files: false + files: daffm.tar.gz diff --git a/README.md b/README.md index cf9bb07..026a1ff 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,24 @@ # Daffm Dumb as fuck file manager is a minimal tui file manager with the goal of not being a file manager. -At its core, it only provides a directory browser, providing ways to conviniently run shell commands to manage your files via keybinds and command line input. + +At its core, it comes with a directory browser, providing ways to run commands to manage your files via keybinds and command line input. So this way you can get that good feeling in your crotch for following the unix philosophy. + ![screenshot](./media/screenshot.jpg) ## Install ### Nix users - This repo can be installed as a nix flake: `github:phenax/daffm#daffm` - OR clone the repo and build it: `nix build` -### Normals (requires cabal) +### Normals (tarball) +- Linux: download and install a tarball from [releases](https://github.com/phenax/daffm/releases) +### Normals (build it yourself. Requires cabal) - Clone the repo -- `make install` to install it on your system (installs in `/usr/local` by default) +- `make install` to build and install it on your system (installs in `/usr/local` by default) - OR `make PREFIX=/install/path install` to install it inside `/install/path` directory - `make uninstall` to uninstall it ## Usage -Run `man daffm` to see the manual -> [./docs/daffm.md](./docs/daffm.md) +Run `man daffm` to see the manual. Markdown version: [./docs/daffm.md](./docs/daffm.md) ## Config diff --git a/daffm.cabal b/daffm.cabal index 1a4cbdb..41d1077 100644 --- a/daffm.cabal +++ b/daffm.cabal @@ -32,7 +32,7 @@ common common-config build-depends: array, base, - brick == 2.4, + brick == 2.10, tomland <= 1.3.3.3, containers <= 0.8, data-default <= 0.8.0.1, -- cgit v1.3.1