update build steps in README.md
This commit is contained in:
parent
05e1539134
commit
0d748fb0bf
2
Makefile
2
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
|
||||
|
10
README.md
10
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.**
|
||||
**<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
|
||||
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user