Skip to content

Commit

Permalink
Update the build system
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Apr 7, 2024
1 parent 4b0d153 commit b70b1bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ jobs:
python-version: 3.12
- name: Install dependencies
run: pip install --requirement=etc/requirements.txt
- name: Build documentation
run: npx gulp doc
- name: Deploy documentation
run: mkdocs gh-deploy --config-file=etc/mkdocs.yaml --force
6 changes: 6 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ export async function publish() {
for (const action of [["tag"], ["push", "origin"]]) await $`git ${action} v${pkg.version}`;
}

// Starts the development server.
export async function serve() {
await doc();
return $({stdio: "inherit"})`mkdocs serve --config-file=etc/mkdocs.yaml`;
}

// Runs the test suite.
export async function test() {
await build();
Expand Down

0 comments on commit b70b1bf

Please sign in to comment.