Skip to content

Commit daaf5e0

Browse files
committed
feat(editions): create the markdown edition
1 parent a071a09 commit daaf5e0

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.travis.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ before_script:
1313
- export TIDDLYWIKI_PLUGIN_PATH="$(pwd)/plugins:$(pwd)/pouchdb/src/plugins:$(pwd)/tpouch/dist" # Plugins paths with all deps globally available
1414
- "(cd tpouch && npm i && gulp travis --production)"
1515
script:
16-
- npm run build-plugin # builds NoteSelf core plugins
16+
# ===== Builds NoteSelf core plugins
17+
- npm run build-plugin
18+
# ===== Build the editions
1719
- tiddlywiki ./wiki --verbose --output ./dist --build index --build favicon --build library
1820
- tiddlywiki ./editions/online --verbose --build index
21+
- tiddlywiki ./editions/markdown --verbose --build index
1922
- tiddlywiki ./editions/developer --verbose --build index # build the developer edition
2023
# ===== Non Minified version =====
2124
- "(cd ./tpouch && gulp travis)" # Build non minified version of TPouch code ( no --production flag )
@@ -25,6 +28,7 @@ script:
2528
- "npx tiddlywiki ./editions/edge --verbose --build index" # build the edge edition (includes not well tested stuff)
2629
# === Measures file sizes and adds that data to the pull request ===
2730
- python node_modules/travis-weigh-in/weigh_in.py dist/developer/index.html
31+
- python node_modules/travis-weigh-in/weigh_in.py dist/markdown/index.html
2832
- python node_modules/travis-weigh-in/weigh_in.py dist/online/index.html
2933
- python node_modules/travis-weigh-in/weigh_in.py dist/edge/index.html
3034
- python node_modules/travis-weigh-in/weigh_in.py dist/dev/index.html

editions/markdown/tiddlywiki.info

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"plugins": [
3+
"tiddlywiki/markdown"
4+
],
5+
"themes": [],
6+
"languages": [],
7+
"includeWikis": [ {"path": "../base", "read-only": true} ],
8+
"build": {
9+
"index": [
10+
"--output", "./dist/markdown/",
11+
"--rendertiddler", "$:/core/save/all", "index.html", "text/plain"
12+
]
13+
}
14+
}

0 commit comments

Comments
 (0)