3 Commits

Author SHA1 Message Date
29f2636d5a Update Makefile
Some checks failed
gitea-sync/antos/pipeline/head This commit looks good
gitea-sync/antos-frontend/pipeline/head There was a failure building this commit
2023-01-03 18:08:38 +01:00
ebc5206c45 Update Jenkinsfile
All checks were successful
gitea-sync/antos/pipeline/head This commit looks good
2023-01-03 18:05:53 +01:00
4e9806466a Update Jenkinsfile
All checks were successful
gitea-sync/antos/pipeline/head This commit looks good
2023-01-03 18:02:06 +01:00
2 changed files with 7 additions and 2 deletions

7
Jenkinsfile vendored
View File

@ -26,16 +26,21 @@ 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"
[ -d "doc" ] && rm -rf doc
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
//}
}
}

View File

@ -221,7 +221,7 @@ ar:
echo -n $(VERSION) > release/latest
release: main uglify
.PHONY: doc release
doc:
./node_modules/.bin/typedoc --mode file --excludeNotExported --hideGenerator --name "AntOS API" --out $(DOCDIR)