From d8f87808b5a1bff4beebae6ca9fb4d1fdcec1605 Mon Sep 17 00:00:00 2001 From: mesh-tools Date: Wed, 21 Oct 2026 09:10:41 +0000 Subject: [PATCH] Add the archive fixture tree for mesh-build-go's archive tests (issue 1589) --- .../testdata/repos/archive/modules/demo/files/Z.txt | 1 + .../testdata/repos/archive/modules/demo/files/a.txt | 1 + .../testdata/repos/archive/modules/demo/files/bin/run | 2 ++ .../testdata/repos/archive/modules/demo/files/sub/b.conf | 1 + .../testdata/repos/archive/modules/demo/module.json.fixture | 1 + 5 files changed, 6 insertions(+) create mode 100644 modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/Z.txt create mode 100644 modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/a.txt create mode 100755 modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/bin/run create mode 100644 modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/sub/b.conf create mode 100644 modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/module.json.fixture diff --git a/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/Z.txt b/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/Z.txt new file mode 100644 index 00000000..b6802534 --- /dev/null +++ b/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/Z.txt @@ -0,0 +1 @@ +z diff --git a/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/a.txt b/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/a.txt new file mode 100644 index 00000000..ce013625 --- /dev/null +++ b/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/a.txt @@ -0,0 +1 @@ +hello diff --git a/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/bin/run b/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/bin/run new file mode 100755 index 00000000..4163036e --- /dev/null +++ b/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/bin/run @@ -0,0 +1,2 @@ +#!/bin/sh +echo hi diff --git a/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/sub/b.conf b/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/sub/b.conf new file mode 100644 index 00000000..79c53955 --- /dev/null +++ b/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/files/sub/b.conf @@ -0,0 +1 @@ +nested diff --git a/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/module.json.fixture b/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/module.json.fixture new file mode 100644 index 00000000..6d2ef8f8 --- /dev/null +++ b/modules/mesh-build-go/cmd/mesh-build-go/testdata/repos/archive/modules/demo/module.json.fixture @@ -0,0 +1 @@ +{"module":"demo","version":"1","build":{"artifacts":[{"name":"files","kind":"archive","from":"files"}]}}