update build steps in README.md
Some checks failed
Lint / golangci-lint (push) Has been cancelled
Declarative Tests / test (push) Has been cancelled

This commit is contained in:
Matthew Rich 2024-10-07 18:36:19 -07:00
parent 05e1539134
commit 0d748fb0bf
2 changed files with 8 additions and 4 deletions

View File

@ -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 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: 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 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: clean:
go clean -modcache go clean -modcache
rm jx rm jx

View File

@ -10,7 +10,9 @@ These tools work with YAML descriptions of resources (E.g. files, users, contain
# Releases # Releases
**v0 releases are unstable and changes may be made to interfaces and specifications.** **<span style="color:red">v0 releases are unstable and changes may be made to interfaces and specifications.</span>**
Use at your own risk.
# JX Documents # JX Documents
@ -41,14 +43,14 @@ resources:
# Testing # 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 git clone https://gitea.rosskeen.house/doublejynx/jx.git
make test make build-container
make build make test
``` ```
# Command-line # Command-line