diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 6bc678b..0000000 --- a/flake.lock +++ /dev/null @@ -1,25 +0,0 @@ -{ - "nodes": { - "nixpkgs": { - "locked": { - "lastModified": 1731890469, - "narHash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "5083ec887760adfe12af64830a66807423a859a7", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "type": "indirect" - } - }, - "root": { - "inputs": { - "nixpkgs": "nixpkgs" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index b426747..0000000 --- a/flake.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - description = "Website"; - - outputs = { self, nixpkgs }: - let pkgs = nixpkgs.legacyPackages.x86_64-linux; - in { - devShell.x86_64-linux = with pkgs; - mkShell { - nativeBuildInputs = [ - imagemagick - just - libavif - libjxl - pandoc - tup - ]; - }; - }; -} diff --git a/variant_path/.gitignore b/variant_path/.gitignore deleted file mode 100644 index 6533779..0000000 --- a/variant_path/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/build-default -!/build-default/tup.config diff --git a/variant_path/Tupfile.ini b/variant_path/Tupfile.ini deleted file mode 100644 index e69de29..0000000 diff --git a/variant_path/Tuprules.tup b/variant_path/Tuprules.tup deleted file mode 100644 index bad3673..0000000 --- a/variant_path/Tuprules.tup +++ /dev/null @@ -1,9 +0,0 @@ -&templates_dir = ./templates - -# This doesn't work, cannot find the generated header.txt -# I want to access the variant path for templates/ but $(TUP_VARIANTDIR) will -# follow the current Tupfile and there is no variant "anchor" like &-variables. -!add_header = | &(templates_dir)/ |> cat &(templates_dir)/header.txt %f &(templates_dir)/footer.txt > %o |> %B.gen.txt - -# This works -#!add_header = | &(templates_dir)/ |> cat %f &(templates_dir)/footer.txt > %o |> %B.gen.txt diff --git a/variant_path/nested/a/Tupfile b/variant_path/nested/a/Tupfile deleted file mode 100644 index d8f9134..0000000 --- a/variant_path/nested/a/Tupfile +++ /dev/null @@ -1,3 +0,0 @@ -include_rules - -: a.txt |> !add_header |> diff --git a/variant_path/nested/a/a.txt b/variant_path/nested/a/a.txt deleted file mode 100644 index c0b6465..0000000 --- a/variant_path/nested/a/a.txt +++ /dev/null @@ -1 +0,0 @@ -letter a diff --git a/variant_path/nested/a/b/Tupfile b/variant_path/nested/a/b/Tupfile deleted file mode 100644 index 3ed03df..0000000 --- a/variant_path/nested/a/b/Tupfile +++ /dev/null @@ -1,3 +0,0 @@ -include_rules - -: b.txt |> !add_header |> diff --git a/variant_path/nested/a/b/b.txt b/variant_path/nested/a/b/b.txt deleted file mode 100644 index 5a55a99..0000000 --- a/variant_path/nested/a/b/b.txt +++ /dev/null @@ -1 +0,0 @@ -letter b diff --git a/variant_path/nested/a/b/c/Tupfile b/variant_path/nested/a/b/c/Tupfile deleted file mode 100644 index ea8a043..0000000 --- a/variant_path/nested/a/b/c/Tupfile +++ /dev/null @@ -1,3 +0,0 @@ -include_rules - -: c.txt |> !add_header |> diff --git a/variant_path/nested/a/b/c/c.txt b/variant_path/nested/a/b/c/c.txt deleted file mode 100644 index 0630cc4..0000000 --- a/variant_path/nested/a/b/c/c.txt +++ /dev/null @@ -1 +0,0 @@ -letter c diff --git a/variant_path/templates/Tupfile b/variant_path/templates/Tupfile deleted file mode 100644 index ba79860..0000000 --- a/variant_path/templates/Tupfile +++ /dev/null @@ -1 +0,0 @@ -: |> ./generate_header.sh > %o |> header.txt ./ diff --git a/variant_path/templates/footer.txt b/variant_path/templates/footer.txt deleted file mode 100644 index b12144a..0000000 --- a/variant_path/templates/footer.txt +++ /dev/null @@ -1,2 +0,0 @@ --- -the end diff --git a/variant_path/templates/generate_header.sh b/variant_path/templates/generate_header.sh deleted file mode 100755 index e2b1f4a..0000000 --- a/variant_path/templates/generate_header.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -cat << EOF -YEAR $(date +%Y) -==== -EOF