From 0d748fb0bf8a53138e5fe7d4ce84df41772fb789 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Mon, 7 Oct 2024 18:36:19 -0700 Subject: [PATCH] update build steps in README.md --- Makefile | 2 ++ README.md | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0a9b135..79d85d4 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,8 @@ run: docker run -it -v $(HOME)/.git-credentials:/root/.git-credentials -v $(HOME)/.gitconfig:/root/.gitconfig -v /var/run/docker.sock:/var/run/docker.sock -v $(shell pwd):/src $(IMAGE) sh run-alpine: docker run -it -v $(HOME)/.git-credentials:/root/.git-credentials -v $(HOME)/.gitconfig:/root/.gitconfig -v /var/run/docker.sock:/var/run/docker.sock -v $(shell pwd):/src golang:1.22.6-alpine sh +build-container: + docker run -it -v $(HOME)/.git-credentials:/root/.git-credentials -v $(HOME)/.gitconfig:/root/.gitconfig -v /var/run/docker.sock:/var/run/docker.sock -v $(shell pwd):/src -w /src rosskeenhouse/build-golang:1.22.6-alpine sh clean: go clean -modcache rm jx diff --git a/README.md b/README.md index 4fcc755..6adf4ea 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ These tools work with YAML descriptions of resources (E.g. files, users, contain # Releases -**v0 releases are unstable and changes may be made to interfaces and specifications.** +**v0 releases are unstable and changes may be made to interfaces and specifications.** + +Use at your own risk. # JX Documents @@ -41,14 +43,14 @@ resources: # Testing -Testing the current version involves checking out main and building. +Testing the current version involves checking out main and building inside of the alpine go build container. ``` git clone https://gitea.rosskeen.house/doublejynx/jx.git -make test +make build-container -make build +make test ``` # Command-line