chore(etaf): switch renderer dependency to ebox
Keep ETAF's framework and data responsibilities unchanged while pointing development, documentation, and test load paths at the new standalone Ebox package.
This commit is contained in:
parent
904ac451a4
commit
5b915c2ff0
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
EMACS ?= emacs
|
EMACS ?= emacs
|
||||||
LOAD_PATH = -L . -L ../emacs-box
|
LOAD_PATH = -L . -L ../ebox
|
||||||
SOURCES = etaf-view.el etaf-component.el etaf-reactive.el etaf-context.el etaf-resource.el etaf-data.el etaf-renderer.el etaf-runtime.el etaf-behavior.el etaf-actions.el etaf-events.el etaf.el
|
SOURCES = etaf-view.el etaf-component.el etaf-reactive.el etaf-context.el etaf-resource.el etaf-data.el etaf-renderer.el etaf-runtime.el etaf-behavior.el etaf-actions.el etaf-events.el etaf.el
|
||||||
TESTS = tests/etaf-tests.el tests/etaf-resource-tests.el tests/etaf-data-tests.el
|
TESTS = tests/etaf-tests.el tests/etaf-resource-tests.el tests/etaf-data-tests.el
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
# ETAF
|
# ETAF
|
||||||
|
|
||||||
ETAF is a small text-application framework built above the independent [Ebox](../emacs-box) layout and rendering engine.
|
ETAF is a small text-application framework built above the independent [Ebox](../ebox) layout and rendering engine.
|
||||||
|
|
||||||
Its complete public model is:
|
Its complete public model is:
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ There is no separate `etaf-data` install: Data is a core ETAF capability. There
|
|||||||
During development, load the sibling Ebox checkout before ETAF:
|
During development, load the sibling Ebox checkout before ETAF:
|
||||||
|
|
||||||
```elisp
|
```elisp
|
||||||
(add-to-list 'load-path "/path/to/github/emacs-box")
|
(add-to-list 'load-path "/path/to/github/ebox")
|
||||||
(add-to-list 'load-path "/path/to/github/etaf")
|
(add-to-list 'load-path "/path/to/github/etaf")
|
||||||
(require 'etaf)
|
(require 'etaf)
|
||||||
```
|
```
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
# ETAF
|
# ETAF
|
||||||
|
|
||||||
ETAF 是构建在独立 [Ebox](../emacs-box) 布局与渲染引擎之上的小型文本应用框架。
|
ETAF 是构建在独立 [Ebox](../ebox) 布局与渲染引擎之上的小型文本应用框架。
|
||||||
|
|
||||||
完整的公共模型是:
|
完整的公共模型是:
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ Component(props, Scope) → View → Renderer → Ebox Node → Emacs buffer
|
|||||||
开发时先把同级 Ebox 检出目录加入 `load-path`:
|
开发时先把同级 Ebox 检出目录加入 `load-path`:
|
||||||
|
|
||||||
```elisp
|
```elisp
|
||||||
(add-to-list 'load-path "/path/to/github/emacs-box")
|
(add-to-list 'load-path "/path/to/github/ebox")
|
||||||
(add-to-list 'load-path "/path/to/github/etaf")
|
(add-to-list 'load-path "/path/to/github/etaf")
|
||||||
(require 'etaf)
|
(require 'etaf)
|
||||||
```
|
```
|
||||||
|
|||||||
@ -7,7 +7,7 @@ ETAF builds text applications from one small vocabulary: `View`, `Component`, pr
|
|||||||
ETAF depends on the independent Ebox package. During development, put the core checkouts on `load-path` and load the one public ETAF entry:
|
ETAF depends on the independent Ebox package. During development, put the core checkouts on `load-path` and load the one public ETAF entry:
|
||||||
|
|
||||||
```elisp
|
```elisp
|
||||||
(add-to-list 'load-path "/path/to/github/emacs-box")
|
(add-to-list 'load-path "/path/to/github/ebox")
|
||||||
(add-to-list 'load-path "/path/to/github/etaf")
|
(add-to-list 'load-path "/path/to/github/etaf")
|
||||||
(require 'etaf)
|
(require 'etaf)
|
||||||
```
|
```
|
||||||
|
|||||||
@ -7,7 +7,7 @@ ETAF 使用一套很小的词汇构建文本应用:`View`、`Component`、prop
|
|||||||
ETAF 依赖独立的 Ebox 包。开发时把核心检出目录放入 `load-path`,然后只加载 ETAF 的公共入口:
|
ETAF 依赖独立的 Ebox 包。开发时把核心检出目录放入 `load-path`,然后只加载 ETAF 的公共入口:
|
||||||
|
|
||||||
```elisp
|
```elisp
|
||||||
(add-to-list 'load-path "/path/to/github/emacs-box")
|
(add-to-list 'load-path "/path/to/github/ebox")
|
||||||
(add-to-list 'load-path "/path/to/github/etaf")
|
(add-to-list 'load-path "/path/to/github/etaf")
|
||||||
(require 'etaf)
|
(require 'etaf)
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user