This commit is contained in:
tree🌴 2024-02-12 11:00:15 +01:00
parent 94cae540bf
commit ec1c75fcae
2 changed files with 11 additions and 3 deletions

View File

@ -1,2 +1,10 @@
all:
all: build frontend compile
build:
deno run --allow-all utils/build.js
frontend:
cd web && npm install && npm run build
compile:
cp -r web/dist/** dist

View File

@ -4,7 +4,7 @@ import { setWeek, nextMonday, format, addDays } from 'npm:date-fns';
import { marked } from 'npm:marked';
import matter from 'npm:front-matter';
const SRC_DIR = "./src";
const SRC_DIR = "./data";
const DEST_DIR = "./dist";
async function build() {