Move excalidraw plug out of repo and add it on the fly during website build
This commit is contained in:
@@ -13,5 +13,6 @@ deploy.json
|
||||
*.generated
|
||||
tmp_playground
|
||||
/public_version.ts
|
||||
website/_plug
|
||||
tmp
|
||||
.idea
|
||||
@@ -6,3 +6,6 @@ ENV SB_READ_ONLY=1
|
||||
|
||||
# Add the website content
|
||||
ADD website /space
|
||||
|
||||
# Add excalidraw plug
|
||||
ADD https://github.com/LogeshG5/silverbullet-excalidraw/releases/download/edge/excalidraw.plug.js /space/_plug/
|
||||
|
||||
@@ -33,3 +33,7 @@ test:
|
||||
generate:
|
||||
# Regenerate the Lua parser from the the grammar
|
||||
deno run -A npm:@lezer/generator@1.5.1 lib/space_lua/lua.grammar -o lib/space_lua/parse-lua.js
|
||||
|
||||
.PHONY: website
|
||||
website:
|
||||
SB_INDEX_PAGE=SilverBullet ./silverbullet -p 3001 website
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user