From 2fe5a1e5e052aba204de303bb586779346c88148 Mon Sep 17 00:00:00 2001 From: Adam Hughes Date: Wed, 16 Mar 2022 21:07:13 +0000 Subject: [PATCH] build: move Mage files to separate directory Signed-off-by: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com> --- .github/workflows/ci.yml | 4 ++-- README.md | 2 +- mage.go => magefiles/mage.go | 0 magefile.go => magefiles/magefile.go | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename mage.go => magefiles/mage.go (100%) rename magefile.go => magefiles/magefile.go (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e3da863..d74ce0c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: git diff --exit-code -- go.mod go.sum - name: Build Source - run: go run mage.go build:source + run: go run ./magefiles/mage.go build:source - name: Install Lint uses: golangci/golangci-lint-action@v2 @@ -44,7 +44,7 @@ jobs: golangci-lint run - name: Run Tests - run: go run mage.go cover:unit cover.out + run: go run ./magefiles/mage.go cover:unit cover.out - name: Upload coverage report uses: codecov/codecov-action@v2 diff --git a/README.md b/README.md index 314b5ffd..e5fb8b28 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ manipulate SIF container files: ```sh git clone https://github.com/apptainer/sif cd sif -go run mage.go install +go run ./magefiles/mage.go install ``` ## Go Version Compatibility diff --git a/mage.go b/magefiles/mage.go similarity index 100% rename from mage.go rename to magefiles/mage.go diff --git a/magefile.go b/magefiles/magefile.go similarity index 100% rename from magefile.go rename to magefiles/magefile.go