From ccb325641e46855e1811e6f35696e7ad36726984 Mon Sep 17 00:00:00 2001 From: Johan de Klerk <jdeklerk00@gmail.com> Date: Fri, 1 Oct 2021 09:26:30 +0200 Subject: [PATCH] Updated readme --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4281522..6dcb1a6 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,9 @@ Shared code to build the uAfrica and Ship-logic backend ### How to include in your project -Run this command to add the _magefile folder as a submodule +Run this in your project: ```shell -git submodule add https://gitlab.com/uafrica/mage.git _magefile +go get gitlab.com/uafrica/mage ``` -Remember to commit the `.gitmodules` and `_magefile` files to your repo - -### Update submodule in your repo -Run this in your repo to update the submodule -```shell -git submodule update --recursive --remote -``` \ No newline at end of file +You can then use this module `"gitlab.com/uafrica/mage/mage_helpers"` to find all the shared code \ No newline at end of file -- GitLab