-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously we were using an external installation of TW5 which meant that we were getting extraneous content such as .git, output and node_modules.
- Loading branch information
Showing
6 changed files
with
58 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# Update package.json to the SHA of the latest tiddlywiki commit to master | ||
|
||
# This should be executed whenever there's an update to TW5 that we need to incorporate in ePub2TW5 | ||
|
||
read -r -d '' VAR << EOM | ||
var fs = require("fs"), | ||
json = JSON.parse(fs.readFileSync("./package.json")), | ||
ref = json.dependencies.tiddlywiki.split("#"); | ||
json.dependencies.tiddlywiki = ref[0] + "#" + process.argv[1]; | ||
fs.writeFileSync("./package.json",JSON.stringify(json,null,4),"utf8"); | ||
EOM | ||
|
||
node -e "$VAR" $(git ls-remote --q https://github.com/Jermolene/TiddlyWiki5.git master | head -c 40) | ||
|
||
npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
{ | ||
"name": "tiddlydesktop", | ||
"version": "0.0.14-prerelease.1", | ||
"author": "Jeremy Ruston <[email protected]>", | ||
"description": "a desktop application for TiddlyWiki", | ||
"contributors": [ | ||
{ | ||
"name": "Jeremy Ruston", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Jermolene/TiddlyDesktop.git" | ||
}, | ||
"keywords": [ | ||
"tiddlywiki", | ||
"tiddlywiki5", | ||
"wiki" | ||
], | ||
"devDependencies": {}, | ||
"bundleDependencies": [], | ||
"license": "BSD", | ||
"dependencies": { | ||
"tiddlywiki": "file:../TiddlyWiki5" | ||
} | ||
"name": "tiddlydesktop", | ||
"version": "0.0.14-prerelease.2", | ||
"author": "Jeremy Ruston <[email protected]>", | ||
"description": "a desktop application for TiddlyWiki", | ||
"contributors": [ | ||
{ | ||
"name": "Jeremy Ruston", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Jermolene/TiddlyDesktop.git" | ||
}, | ||
"keywords": [ | ||
"tiddlywiki", | ||
"tiddlywiki5", | ||
"wiki" | ||
], | ||
"devDependencies": {}, | ||
"bundleDependencies": [], | ||
"license": "BSD", | ||
"dependencies": { | ||
"tiddlywiki": "Jermolene/TiddlyWiki5#75d65d2694d31688c6e18d6d9ce28826c17a71e8" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# build TiddlyWiki and TiddlyDesktop | ||
|
||
# build and run TiddlyDesktop | ||
|
||
./bld.sh || exit 1 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters