refactor: cleaner python project
This commit is contained in:
@@ -53,7 +53,7 @@ setup-services:
|
||||
|
||||
.PHONY: setup-bashrc
|
||||
setup-bashrc:
|
||||
$(PROJECT_DIR)/line_in_file.sh "make -C $(PROJECT_DIR) --no-print-directory start" "$(HOME)/.bashrc"
|
||||
$(PROJECT_DIR)/scripts/line_in_file.sh "make -C $(PROJECT_DIR) --no-print-directory start" "$(HOME)/.bashrc"
|
||||
|
||||
.PHONY: install
|
||||
install: remove-passwd apt-install pip-install setup-weston remove-motd disable-cloud-init setup-services setup-bashrc
|
||||
@@ -71,7 +71,7 @@ run: $(BUILD_DIR)/$(TARGET)
|
||||
|
||||
.PHONY: start-bg
|
||||
start-bg:
|
||||
@python3 $(PROJECT_DIR)/i2c.py >> $(PROJECT_DIR)/python.log&
|
||||
@python3 $(PROJECT_DIR)/__main__.py &> $(PROJECT_DIR)/python.log &
|
||||
|
||||
.PHONY: start-fg
|
||||
start-fg:
|
||||
|
||||
Reference in New Issue
Block a user