Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Commit

Permalink
[+] 添加Linux构建方法
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna authored Jul 15, 2018
1 parent 4cc0230 commit 8854e8f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,17 +496,23 @@ public class TestCommand implements EverywhereCommand

### 6. 构建插件:

* 注意:
* Jar文件会构建到`target`目录下
* 加载到服务器要用`shaded`版本, 作为API发布可以不用`shaded`
* (不过推荐全都用`shaded`版本, 毕竟万一会有人想直接拿API的jar加载就抛class not found呢...

#### 6.1. 全系统 - IntelliJ IDEA

* 打开右边的`Maven Project`栏
* 展开`Lifecycle`菜单
* 点击`package`运行
* Jar文件会构建到`target`目录下
* 加载到服务器要用`shaded`版本, 作为API发布可以不用`shaded`
* (不过推荐全都用`shaded`版本, 毕竟万一会有人想直接拿API的jar加载就抛class not found呢...
* 双击`package`运行

#### 6.2. Linux - Bash

* 在项目路径打开任意Bash
* `mvn package`

*(不要问我 bash: mvn: command not found 怎么解决...*

#### 如果有Bug的话, 联系我QQ: 871674895哦!
#### 或者加群498386389
Expand Down

0 comments on commit 8854e8f

Please sign in to comment.