mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-16 01:38:21 +01:00
Update icons + add documentation build in Jenkinsfile
All checks were successful
gitea-sync/antos/pipeline/head This commit looks good
All checks were successful
gitea-sync/antos/pipeline/head This commit looks good
This commit is contained in:
parent
731eb408d9
commit
a54015571a
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