mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 17:38:20 +01:00
Update icons + add documentation build in Jenkinsfile
This commit is contained in:
parent
11fb8c97af
commit
b35812bb43
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -26,16 +26,19 @@ pipeline{
|
||||
npm install uglifycss
|
||||
npm install typescript
|
||||
npm install @types/jquery
|
||||
|
||||
npm i typedoc@0.19.0
|
||||
buildir="build"
|
||||
[ -d "$buildir" ] && rm -rf "$buildir"
|
||||
export BUILDDIR="$WORKSPACE/$buildir/opt/www/htdocs/os"
|
||||
mkdir doc
|
||||
export DOCDIR="$WORKSPACE/doc"
|
||||
make release
|
||||
make doc
|
||||
'''
|
||||
script {
|
||||
// only useful for any master branch
|
||||
//if (env.BRANCH_NAME =~ /^master/) {
|
||||
archiveArtifacts artifacts: 'd.ts/, build/', fingerprint: true
|
||||
archiveArtifacts artifacts: 'd.ts/, build/, doc/', fingerprint: true
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
1
Makefile
1
Makefile
@ -227,6 +227,7 @@ ar:
|
||||
release: main uglify
|
||||
|
||||
doc:
|
||||
# npm i typedoc@0.19.0
|
||||
./node_modules/.bin/typedoc --mode file --excludeNotExported --hideGenerator --name "AntOS API" --out $(DOCDIR)
|
||||
|
||||
test: build_javascripts
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 986 B After Width: | Height: | Size: 999 B |
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in New Issue
Block a user