Skip to content

Commit

Permalink
zz
Browse files Browse the repository at this point in the history
  • Loading branch information
chai2010 committed Aug 13, 2024
1 parent 6801c28 commit 4dc5f53
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mnbook
name: wabook
on:
push:
branches:
Expand All @@ -24,7 +24,7 @@ jobs:
go-version: 1.21

- run: go version
- run: go install github.com/wa-lang/mnbook@latest
- run: go install github.com/wa-lang/wabook@latest

- run: make build

Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# go install github.com/wa-lang/mnbook@latest
# go install github.com/wa-lang/wabook@latest

default:
mnbook serve
wabook serve

build:
-rm book
mnbook build
wabook build
make -C en build
-rm book/.gitignore
-rm -rf book/.git

deploy:
-rm book
mnbook build
wabook build
make -C en build
-rm book/.gitignore
-rm -rf book/.git
Expand Down
4 changes: 2 additions & 2 deletions en/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
default:
mnbook serve
wabook serve

build:
-rm -rf ../book/en
mkdir -p ../book/en
mnbook build && mv ./book ./en && mv ./en ../book/
wabook build && mv ./book ./en && mv ./en ../book/
-rm ../book/en/.gitignore

clean:
Expand Down

0 comments on commit 4dc5f53

Please sign in to comment.