代码拉取完成,页面将自动刷新
鸿蒙应用开发实机热更新工具
/out/ipcamera_hi3516dv300/dev_tools/bin
复制到nfs挂载目录)
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时自动生成
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型