-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
|
||
|
||
all : | ||
make -j demos | ||
|
||
static-content : all | ||
rm -rf node_modules */node_modules | ||
|
||
demos: monaco cm cm6 pm pm-versions quill | ||
|
||
node_modules : | ||
npm ci | ||
|
||
# build demo-server | ||
demo-server : | ||
cd demo-server | ||
npm ci | ||
.PHONY demo-server | ||
|
||
# build codemirror 5 demo | ||
cm : node_modules | ||
cd codemirror | ||
npm ci | ||
npm run dist | ||
|
||
# build codemirror 6 demo | ||
cm6 : node_modules | ||
cd codemirror.next | ||
npm ci | ||
npm run dist | ||
|
||
# build prosemirror demo | ||
pm : node_modules | ||
cd prosemirror | ||
npm ci | ||
npm run dist | ||
|
||
# build prosemirror-versions demo | ||
pm-versions : node_modules | ||
cd prosemirror-versions | ||
npm ci | ||
npm run dist | ||
|
||
# build quill demo | ||
quill : node_modules | ||
cd quill | ||
npm ci | ||
npm run dist | ||
|
||
# build monaco demo | ||
monaco : node_modules | ||
cd monaco | ||
npm ci | ||
npm run dist | ||
.PHONY : monaco | ||
|
||
# remove all generated files | ||
clean : | ||
rm -rf */dist */node_modules node_modules | ||
|
||
.ONESHELL : |