Skip to content

Commit 5dec8f9

Browse files
committed
update make file
1 parent 683c6ef commit 5dec8f9

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LUALS_DIR := bin/lua-language-server
88
LUALS := $(LUALS_DIR)/bin/lua-language-server
99
LUALS_URL := https://github.com/LuaLS/lua-language-server/releases/download/$(LUALS_VERSION)/lua-language-server-$(LUALS_VERSION)-linux-x64.tar.gz
1010

11-
.PHONY: help install-tools install-stylua install-luals format format-check typecheck check sync
11+
.PHONY: help install-tools install-stylua install-luals format format-check typecheck check sync push
1212

1313
help:
1414
@echo "Usage: make <target>"
@@ -21,6 +21,7 @@ help:
2121
@echo " typecheck Run lua-language-server type checking"
2222
@echo " check Run format-check and typecheck"
2323
@echo " sync Sync source files to EdgeTX simulator SD card"
24+
@echo " push Push source files to EdgeTX radio and eject"
2425

2526
install-stylua:
2627
@command -v cargo >/dev/null 2>&1 || { echo "cargo is required (install Rust: https://rustup.rs)"; exit 1; }
@@ -44,4 +45,7 @@ typecheck:
4445
check: format-check typecheck
4546

4647
sync:
47-
edgetx sync ../edgetx-sdcard
48+
edgetx dev sync ../edgetx-sdcard
49+
50+
push:
51+
edgetx dev push --eject

0 commit comments

Comments
 (0)