From 90aa6ec530a409b5aa33a20599b927a759be8604 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 --- .circleci/config.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/.circleci/config.yml b/.circleci/config.yml index 1539ead4..791c02e4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,7 +68,7 @@ jobs: - checkout - run: name: Build Source - command: go run mage.go build:source + command: go run ./magefiles/mage.go build:source unit-test: parameters: @@ -79,7 +79,7 @@ jobs: - checkout - run: name: Run Unit Tests - command: go run mage.go cover:unit cover.out + command: go run ./magefiles/mage.go cover:unit cover.out - codecov/upload: file: cover.out diff --git a/README.md b/README.md index 4ad5122f..04d71ecc 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ To get the siftool CLI program installed to `$(go env GOPATH)/bin` to manipulate ```sh git clone https://github.com/sylabs/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