Skip to content

Commit db54019

Browse files
committed
Use hunim for docs
1 parent 1bdc60e commit db54019

File tree

4 files changed

+22
-456
lines changed

4 files changed

+22
-456
lines changed

docs/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
public
2-
make
32
binaries/
43
node_modules/
54
bun.lockb

docs/Makefile

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
1-
.PHONY: local compile html upload default
1+
.PHONY: html upload default
22

3-
default: local
3+
default: html
44

55
SRC_FILES := $(shell find src -type f)
66

7-
compile:
8-
nim c -d:danger make
9-
ifeq ($(shell uname),Darwin)
10-
strip -ur make && du --si -A make
11-
else
12-
strip make && du -sh make
13-
endif
14-
157
html: $(SRC_FILES)
16-
rm -rf public
17-
cp -R src public
18-
./make
19-
20-
htmldev: $(SRC_FILES)
21-
rm -rf public
22-
cp -R src public
23-
./make --dev
24-
25-
local: html
26-
bun run dev
8+
hunim
279

2810
download:
2911
rsync -rtvzP "[email protected]:/var/www/auto-editor/public/img" src

0 commit comments

Comments
 (0)