Skip to content

Commit fd5eeea

Browse files
committed
chore: clean up Makefile
1 parent 3c6e986 commit fd5eeea

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,9 @@ ex-rr:
3535
ex-sc:
3636
deno run -A cli.ts serve -L debug examples/styled-components/index.html
3737

38-
d:
38+
publish-doc:
3939
$(MAKE) -C docs d
40-
41-
deploy:
42-
$(MAKE) -C docs d
43-
git add docs/deploy.js
44-
git commit -m "chore: update deploy.js"
40+
git add docs/_site
41+
git commit -m "chore: update doc site"
4542

4643
.PHONY: test test-esbuild-deno-loader

docs/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
LUME=deno run --unstable --allow-read --allow-write --allow-net https://deno.land/x/lume@v0.22.5/cli.js
22
TWD=deno run -A https://deno.land/x/twd@v0.3.1/cli.ts
3-
DEPLOY_DIR=deno run -A https://deno.land/x/deploy_dir@v0.3.2/cli.ts
3+
44
dev:
55
$(LUME) -s
66

@@ -16,11 +16,8 @@ style:
1616
style-w:
1717
$(TWD) _includes/layout.njk -o styles.css -w
1818

19-
# Create script for Deno Deploy
2019
d:
2120
$(MAKE) clean
2221
$(MAKE) build
23-
$(DEPLOY_DIR) _site -o deploy.js -y --cache /monaco-editor:max-age=86400
24-
ls -lh deploy.js
2522

2623
.PHONY: dev build clean style style-w d

0 commit comments

Comments
 (0)