forked from writer/writer-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add documentation build to continuous integration process
- Loading branch information
1 parent
26eb89a
commit 9b7c91a
Showing
5 changed files
with
34 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
import alfred | ||
import os | ||
|
||
@alfred.command("npm.lint", help="lint check ui code") | ||
def npm_lint(): | ||
|
||
@alfred.command("npm.docs.build", help="build streamsync website and documentation") | ||
def npm_docs_build(): | ||
os.chdir("docs") | ||
alfred.run("npm run docs:build") | ||
|
||
@alfred.command("npm.ui.lint", help="lint check ui code") | ||
def npm_ui_lint(): | ||
os.chdir("ui") | ||
alfred.run("npm run lint:ci") | ||
|
||
@alfred.command("npm.build", help="build ui code") | ||
def npm_build(): | ||
@alfred.command("npm.ui.build", help="build ui code") | ||
def npm_ui_build(): | ||
os.chdir("ui") | ||
alfred.run("npm run build") | ||
|
||
@alfred.command("npm.build_custom_components", help="build custom components") | ||
def ui_build_custom(): | ||
@alfred.command("npm.ui.build_custom_components", help="build custom components") | ||
def npm_ui_build_custom(): | ||
os.chdir("ui") | ||
alfred.run("npm run custom.build") |