mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-02-21 17:32:47 +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 uglifycss
|
||||||
npm install typescript
|
npm install typescript
|
||||||
npm install @types/jquery
|
npm install @types/jquery
|
||||||
|
npm i typedoc@0.19.0
|
||||||
buildir="build"
|
buildir="build"
|
||||||
[ -d "$buildir" ] && rm -rf "$buildir"
|
[ -d "$buildir" ] && rm -rf "$buildir"
|
||||||
export BUILDDIR="$WORKSPACE/$buildir/opt/www/htdocs/os"
|
export BUILDDIR="$WORKSPACE/$buildir/opt/www/htdocs/os"
|
||||||
|
mkdir doc
|
||||||
|
export DOCDIR="$WORKSPACE/doc"
|
||||||
make release
|
make release
|
||||||
|
make doc
|
||||||
'''
|
'''
|
||||||
script {
|
script {
|
||||||
// only useful for any master branch
|
// only useful for any master branch
|
||||||
//if (env.BRANCH_NAME =~ /^master/) {
|
//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
|
release: main uglify
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
|
# npm i typedoc@0.19.0
|
||||||
./node_modules/.bin/typedoc --mode file --excludeNotExported --hideGenerator --name "AntOS API" --out $(DOCDIR)
|
./node_modules/.bin/typedoc --mode file --excludeNotExported --hideGenerator --name "AntOS API" --out $(DOCDIR)
|
||||||
|
|
||||||
test: build_javascripts
|
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…
x
Reference in New Issue
Block a user