mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 01:38:21 +01:00
add test to travis job
This commit is contained in:
parent
b72d5a5de3
commit
6d85427225
@ -4,8 +4,9 @@ node_js:
|
|||||||
install:
|
install:
|
||||||
- npm install terser -g
|
- npm install terser -g
|
||||||
- npm install uglifycss -g
|
- npm install uglifycss -g
|
||||||
|
- npm install jest -g
|
||||||
- npm install typescript
|
- npm install typescript
|
||||||
- npm install @types/jquery
|
- npm install @types/jquery
|
||||||
script:
|
script:
|
||||||
- make
|
- make && make test
|
||||||
- make release
|
- make release
|
||||||
|
3
Makefile
3
Makefile
@ -160,6 +160,9 @@ release: main uglify
|
|||||||
doc:
|
doc:
|
||||||
./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:
|
||||||
|
jest
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(BUILDDIR)/resources
|
rm -rf $(BUILDDIR)/resources
|
||||||
rm -rf $(BUILDDIR)/scripts
|
rm -rf $(BUILDDIR)/scripts
|
||||||
|
Loading…
Reference in New Issue
Block a user