@@ -17,24 +17,20 @@ script:
17
17
- npm run build-plugin
18
18
# ===== Build the editions
19
19
- tiddlywiki ./wiki --verbose --output ./dist --build index --build favicon --build library
20
- - tiddlywiki ./editions/online --verbose --build index
21
- - tiddlywiki ./editions/markdown --verbose --build index
22
- - tiddlywiki ./editions/importer --verbose --build index
23
- - tiddlywiki ./editions/gsd5 --verbose --build index
24
- - tiddlywiki ./editions/developer --verbose --build index # build the developer edition
20
+ - ./build-editions.sh
25
21
# ===== Non Minified version =====
26
22
- " (cd ./tpouch && gulp travis)" # Build non minified version of TPouch code ( no --production flag )
27
23
- tiddlywiki ./editions/online --verbose --build dev # This is the same as the online one, but to a different dist path
28
24
# ===== Build edge version with the latest tiddlywiki and experimental plugins =====
29
25
- " npm i tiddlywiki@latest && npx tiddlywiki --version"
30
26
- " npx tiddlywiki ./editions/edge --verbose --build index" # build the edge edition (includes not well tested stuff)
31
27
# === Measures file sizes and adds that data to the pull request ===
32
- - python node_modules/travis-weigh-in/weigh_in.py dist/developer/index.html || true
33
- - python node_modules/travis-weigh-in/weigh_in.py dist/markdown/index.html || true
34
- - python node_modules/travis-weigh-in/weigh_in.py dist/online/index.html || true
35
- - python node_modules/travis-weigh-in/weigh_in.py dist/edge/index.html || true
36
- - python node_modules/travis-weigh-in/weigh_in.py dist/dev/index.html || true
28
+ - |
29
+ for edition in $(ls dist); do
30
+ python node_modules/travis-weigh-in/weigh_in.py dist/${edition}/index.html || true
31
+ done
37
32
- python node_modules/travis-weigh-in/weigh_in.py dist/index.html || true
33
+ - python node_modules/travis-weigh-in/weigh_in.py dist/offline.html || true
38
34
after_script :
39
35
- " ls -lR dist"
40
36
deploy :
0 commit comments