修改makefile 构建制品名称,修改说明文件

main 1.0.1
15128022404 2 years ago
parent 53d83cedca
commit a7c0c53491

@ -5,7 +5,12 @@ Java Version Manager
## 安装
默认文件下载安装在用户目录下 ```.j```
[下载](https://github.com/forget-the-bright/j/releases) 下载自己需要的版本, 到自己自定义的目录 修改可执行文件名称为j
默认文件下载安装在用户目录下 ```.j```目录,目录下 ```versions```, ```downloads```, ```java``` 分别是本地安装目录安装包下载目录当前使用的java版本目录
将 JAVA_HOME 配置为 ```USER_HOME\.j\java```
指定安装目录需要 添加环境变量 ```J_HOME```
## 命令

@ -19,7 +19,7 @@ build-linux: build-linux-386 build-linux-amd64 build-linux-arm build-linux-arm64
build-linux-386:
GOOS=linux GOARCH=386 $(GO) build $(GO_FLAGS) -o bin/linux-386/j
build-linux-amd64:
GOOS=linux GOARCH=amd64 $(GO) build $(GO_FLAGS) -o bin/linux-amd64/j
GOOS=linux GOARCH=amd64 $(GO) build $(GO_FLAGS) -o bin/linux-amd64/linux_amd_x86_64_j
build-linux-arm:
GOOS=linux GOARCH=arm $(GO) build $(GO_FLAGS) -o bin/linux-arm/j
build-linux-arm64:
@ -39,7 +39,7 @@ build-windows: build-windows-386 build-windows-amd64 build-windows-arm build-win
build-windows-386:
GOOS=windows GOARCH=386 $(GO) build $(GO_FLAGS) -o bin/windows-386/j.exe
build-windows-amd64:
GOOS=windows GOARCH=amd64 $(GO) build $(GO_FLAGS) -o bin/windows-amd64/j.exe
GOOS=windows GOARCH=amd64 $(GO) build $(GO_FLAGS) -o bin/windows-amd64/windows_amd_x86_64_j.exe
build-windows-arm:
GOOS=windows GOARCH=arm $(GO) build $(GO_FLAGS) -o bin/windows-arm/j.exe
build-windows-arm64:

Loading…
Cancel
Save