5 Star 17 Fork 4

东方星痕/harl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MulanPSL-2.0

harl

鸿蒙应用开发实机热更新工具

依赖

USAGE

E:\Code\Go\harl>harl
NAME:
   harl - Open Harmony OS Dev tools

USAGE:
   harl [global options] command [command options] [arguments...]

VERSION:
   v0.1.1

COMMANDS:
   init, i    init .harm.yml
   watch, w   watch and reload app
   install    install hap
   uninstall  uninstall hap
   shell      open a shell
   reboot     reboot
   help, h    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

  • 下载应用
  • cd /your-project-dir 切换到项目目录
  • harl init 初始化配置文件
  • harl w 监听项目文件修改
  • 目前命令只支持在项目目录执行

配置文件

.harl.yaml

build:
  buildtype: smartVision # 项目编译类型,会自动生成
  excludes: # 排除监听的目录
  - .gradle
  - .idea
  - gradle
  - entry/build
  - entry/node_modules
  includes: # 监听的文件类型,不能为空
  - .css
  - .hml
  - .js
  - .hap
  - .json
  nfsdir: Y:/dde # nfs 的挂载目录
  delay: 100 # 监听频率,单位ms
reload:
  dir: /nfs/dde # nfs 在开发板上的目录
  com: COM5 # 串口号
  bundlename: top.ystyle.jianmu # 项目id,init时自动生成
  abilityname: default # 项目起始界面,init时自动生成

支持情况

  • 只支持windows
  • 只测试过liteWearable项目改的smartVision
  • 只在hi3516d上测试过

空文件

简介

鸿蒙应用开发实机热更新工具 展开 收起
README
MulanPSL-2.0
取消

发行版 (6)

全部
5年前

贡献者

全部

语言

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/ystyle/harl.git
git@gitee.com:ystyle/harl.git
ystyle
harl
harl
v0.1.1

搜索帮助