tricu

An interpreted language for exploring Tree Calculus
Log | Files | Refs | README | LICENSE

commit 9dbcde08cab75803ab92cb2401a919cd189a0e44
parent 5216cc4e5b09f3a0dd7ad010071208b4b815a585
Author: James Eversole <james@eversole.co>
Date:   Thu, 23 Jan 2025 17:13:17 -0600

Minify and mark as pre-release

Diffstat:
M.gitea/workflows/test-and-build.yml | 11+++++++----
Mflake.nix | 7++++---
2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/.gitea/workflows/test-and-build.yml b/.gitea/workflows/test-and-build.yml @@ -68,12 +68,14 @@ jobs: restore-keys: | nix- - - name: Build binary + - name: Build and shrink binary run: | nix build - ls -alh ./result/bin/tricu + cp -L ./result/bin/tricu /tmp + chmod 755 /tmp/tricu + nix develop --command upx /tmp/tricu - - name: Setup go for release actoin + - name: Setup go for release action uses: actions/setup-go@v5 with: go-version: '>=1.20.1' @@ -82,5 +84,6 @@ jobs: uses: https://gitea.com/actions/release-action@main with: files: |- - ./result/bin/tricu + /tmp/tricu api_key: '${{ secrets.RELEASE_TOKEN }}' + pre_release: true diff --git a/flake.nix b/flake.nix @@ -32,10 +32,11 @@ defaultPackage = self.packages.${system}.default; devShells.default = pkgs.mkShell { - buildInputs = with pkgs.haskellPackages; [ - cabal-install - ghcid + buildInputs = with pkgs; [ + haskellPackages.cabal-install + haskellPackages.ghcid customGHC + upx ]; inputsFrom = builtins.attrValues self.packages.${system}; };