2022-08-19 22:10:25 +00:00
|
|
|
.PHONY: build docs cython postgres postgres-ext pygments build-reqs
|
2020-06-08 19:22:43 +00:00
|
|
|
.DEFAULT_GOAL := build
|
2018-12-11 17:44:45 +00:00
|
|
|
|
|
|
|
SPHINXOPTS:="-W -n"
|
|
|
|
|
2022-08-19 22:10:25 +00:00
|
|
|
BUILD_REQS_SCRIPT='print("\x00".join(__import__("build").ProjectBuilder(".").build_system_requires))'
|
2019-01-18 18:39:25 +00:00
|
|
|
|
2022-08-19 22:10:25 +00:00
|
|
|
build-reqs:
|
|
|
|
python -m pip install --no-build-isolation build
|
|
|
|
python -c $(BUILD_REQS_SCRIPT) | xargs -0 python -m pip install --no-build-isolation
|
|
|
|
|
|
|
|
|
|
|
|
cython: build-reqs
|
2019-01-18 18:39:25 +00:00
|
|
|
find edb -name '*.pyx' | xargs touch
|
2021-09-28 16:22:01 +00:00
|
|
|
BUILD_EXT_MODE=py-only python setup.py build_ext --inplace
|
2019-03-08 19:17:34 +00:00
|
|
|
|
2022-08-19 22:10:25 +00:00
|
|
|
|
|
|
|
rust: build-reqs
|
2022-01-30 20:25:59 +00:00
|
|
|
BUILD_EXT_MODE=rust-only python setup.py build_ext --inplace
|
2019-03-08 19:17:34 +00:00
|
|
|
|
2022-08-19 22:10:25 +00:00
|
|
|
|
|
|
|
docs: build-reqs
|
2019-03-08 19:17:34 +00:00
|
|
|
find docs -name '*.rst' | xargs touch
|
|
|
|
$(MAKE) -C docs html SPHINXOPTS=$(SPHINXOPTS) BUILDDIR="../build"
|
|
|
|
|
|
|
|
|
2022-08-19 22:10:25 +00:00
|
|
|
postgres: build-reqs
|
2019-03-08 19:17:34 +00:00
|
|
|
python setup.py build_postgres
|
2019-02-15 23:15:36 +00:00
|
|
|
|
2022-08-19 22:10:25 +00:00
|
|
|
|
2023-10-18 20:23:05 +00:00
|
|
|
parsers:
|
|
|
|
python setup.py build_parsers --inplace
|
|
|
|
|
|
|
|
|
2022-08-19 22:10:25 +00:00
|
|
|
ui: build-reqs
|
2022-04-05 18:23:33 +00:00
|
|
|
python setup.py build_ui
|
2019-02-15 23:15:36 +00:00
|
|
|
|
2022-08-19 22:10:25 +00:00
|
|
|
|
|
|
|
pygments: build-reqs
|
2019-03-13 00:38:00 +00:00
|
|
|
out=$$(edb gen-meta-grammars edgeql) && \
|
2022-01-25 19:28:41 +00:00
|
|
|
echo "$$out" > edb/tools/pygments/edgeql/meta.py
|
2020-06-08 19:22:43 +00:00
|
|
|
|
|
|
|
|
2022-08-19 22:10:25 +00:00
|
|
|
casts: build-reqs
|
2021-06-11 00:19:09 +00:00
|
|
|
out=$$(edb gen-cast-table) && \
|
Docs reorg (#3039)
* Move round and random to Numerics. Add references to len, contain, and find to bytes.
* Data Model -> Schema Modeling. Simplify Overview page. Add Terminology Overview section. Split out separate Modules page.
* Add Comparison page under schema modeling
* Add Guides > Terminology
* Add Guides > Migrations
* Improve wording
* Git comm
* Remove Type System. Add Inheritance page.
* Consolidate Object Types, User-defined types, and Free objects into one page
* Add Using Projects guide
* Add Data Model > Migrations
* Centralize Array and Tuple docs into Standard Library. Remove Data Model > CollTypes, Data Model > Scalars, EdgeQL > Expressions > Tuple, and EdgeQL > Expressions > Array
* Update DDL callout in Data Model > Overview
* Write SDL > Links page. Add Modeling Relations guide.
* Fix -diff parsing
* Add Links docs
* Add constraints, readonly, annotations to props page
* Remove table from Terminology
* Update Properties and Link Props pages.
* Update Computeds and Indexes pages
* Rework Aliases page
* Rework Constraints page. Add constraint examples to Links and Using Link Props guide.
* Remove references to 'computable'. Move Migrations to guides. Address PR reviews.
* Reorganize file structure. Start EdgeQL docs.
* Filled out literals page with funcops tables
* Simplify datamodel > primitives
* Write sets page
* WIP
* Write select page. Move introspection under Guides. Move Shaping and Function Calls to Reference.
* Update command pages
* WIP
* Update edgedb-info docs
* Add cfg to stdlib
* Finish EdgeQL docs
* Fix tests
* Improve Inheritance page, add abstract annotation example, clean up Schema > Object Types
* Clean up Primitive Types intro
* Clean up funcops, rename
* Remove link props page
* Lowercase headers
* Write using projects guide
* Add ref to Sets
* Update quickstart
* Improve quickstart
* Simplify quickstart
* Add tabular See Also
* Remove cookbook
* Add tabular TOCs to top of large pages
* Clarify wording
* Address reviews. Commands -> EdgeQL. Update connection parameters page.
* Move commands to Reference > EdgeQL
* Move casts to Reference > EdgeQL. Standarize navbar casing
* Document gotchas with relative durations
* Add clients connection docs. Document delete source limitation.
* Closes #3079
* Rename props.rst files
* Document detached
* Address @1st1 reviews
* Remove .vscode
* Update .gitignore
* Remove extra code block
* Rearrange constraints, fix typos
* Clarify that {} is union
* Document custom scalars
* Clarify conneciton docs
* Clean up edgedb_info
* Address reviews
2021-11-10 22:27:39 +00:00
|
|
|
echo "$$out" > docs/reference/edgeql/casts.csv
|
2021-06-11 00:19:09 +00:00
|
|
|
|
|
|
|
|
2022-08-19 22:10:25 +00:00
|
|
|
build: build-reqs
|
2022-04-23 22:24:55 +00:00
|
|
|
find edb -name '*.pyx' | xargs touch
|
2022-06-15 21:19:52 +00:00
|
|
|
pip install -Ue .[docs,test]
|
2020-06-26 18:12:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2021-10-25 19:26:25 +00:00
|
|
|
git clean -Xfd -e "!/*.code-workspace" -e "!/*.vscode"
|