Skip to content

Commit

Permalink
Can I get vercel deployments working?
Browse files Browse the repository at this point in the history
  • Loading branch information
rianadon committed Jan 1, 2024
1 parent 2665858 commit e07de4d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
.PHONY : all build test keycaps keycaps-simple keyholes switches venv optimize docs keyboards
.PHONY : mk-target build keycaps keycaps-simple keyholes switches venv optimize docs keyboards ci vite-build
build: target/proto/manuform.ts target/proto/lightcycle.ts target/proto/cuttleform.ts target/editorDeclarations.d.ts

NODE = node --loader ./src/model_gen/loader.js

test:
$(MAKE) -C test

all: build test

target/proto/manuform.ts: src/proto/manuform.proto
npx protoc --ts_out target --proto_path src $<

Expand Down Expand Up @@ -40,3 +35,10 @@ venv:
if test ! -d venv; then python3 -m venv venv; source venv/bin/activate && pip install mkdocs-material[imaging]==9.4.14 mkdocs-awesome-pages-plugin==2.9.2 mkdocs-rss-plugin==1.9.0; fi
docs: venv
source venv/bin/activate && MKDOCS_BUILD=1 mkdocs build && cp -r target/mkdocs/* build/

# CI Specific tasks
mk-target:
mkdir -p target
vite-build:
npm run build
ci: mk-target keycaps-simple keycaps build parts optimize keyboards vite-build docs

0 comments on commit e07de4d

Please sign in to comment.