Fetch the repository succeeded.
鸿蒙应用开发实机热更新工具
/out/ipcamera_hi3516dv300/dev_tools/bin
复制到nfs挂载目录)
➜ harl
NAME:
harl - Open Harmony OS Dev tools
USAGE:
harl.exe [global options] command [command options] [arguments...]
VERSION:
v0.2.2
COMMANDS:
init, i init .harm.yml
watch, w watch and reload app
install install hap
uninstall uninstall hap
push push localfile remotepath
pull pull remotefile localfullpath
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
监听项目文件修改
^run [command name]
的方式执行command里定义的脚本
^run setup
.harl.yaml
watch: # 监听文件修改并自动编译、安装的参数
excludes: # 排除的文件
- .gradle
- .idea
- gradle
- entry/build
- entry/node_modules
includes: # 监听的文件类型
- .css
- .hml
- .js
- .hap
- .json
delay: 100 # 监听频率,单位ms
nfs: # nfs 配置
ldir: H:/bin # 本地nfs挂载目录
rdir: /nfs # 远程nfs(开发板)挂载目录
shell: # 开发板连接参数
com: COM5 # 串口号
command: # 定义常用命令, 在shell或watch里可执行
setup: # 命令执行方式: ^run setup
- dhclient eth0 # 命令一行一个, 顺序执行错误不会中断
- mkdir /nfs
- mount 192.168.3.12:/nfsshare /nfs nfs
kill: # 关闭应用
- cd /nfs
- ./aa terminate -p top.ystyle.ohos.js.testapp
start: # 启动应用
- cd /nfs
- ./aa start -p top.ystyle.ohos.js.testapp -n default
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Activity
Community
Health
Trend
Influence
:Code submit frequency
:React/respond to issue & PR etc.
:Well-balanced team members and collaboration
:Recent popularity of project
:Star counts, download counts etc.