WIP: git submodules #45

Closed
tasiaiso wants to merge 21 commits from tasiaiso/tildefriends:submodules into main
5 changed files with 16 additions and 36 deletions
Showing only changes of commit 3bd827a9f7 - Show all commits

3
.gitignore vendored
View File

@ -8,3 +8,6 @@ out
*.swo
*.swp
.zsign_cache/
deps/codemirror/cm6.js
deps/prettier/standalone.mjs

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,8 @@
{
"name": "tildefriends",
"scripts": {
"prettier": "prettier . --check --cache --write"
"prettier": "prettier . --check --cache --write",
"postinstall": "sh tools/install_dependencies.sh"
},
"author": "Cory McWilliams",
"license": "MIT",

View File

@ -0,0 +1,11 @@
#! /bin/sh
cp node_modules/prettier/standalone.mjs deps/prettier
wget -O deps/lit/lit-all.min.js https://cdn.jsdelivr.net/gh/lit/dist@3.1.2/all/lit-all.min.js
wget -O deps/lit/lit-all.min.js.map https://cdn.jsdelivr.net/gh/lit/dist@3.1.2/all/lit-all.min.js.map
cd deps/codemirror_src
npm i
npm run build
cd ../..