-
-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix output filenames for Windows installers
- Loading branch information
0 parents
commit 992b938
Showing
203 changed files
with
64,798 additions
and
0 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,11 @@ | ||
syntax: glob | ||
*.swp | ||
index.html | ||
node_modules/* | ||
dist/* | ||
doc/* | ||
.tmp/* | ||
*.DS_Store | ||
.idea | ||
cache | ||
dist-apps |
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,16 @@ | ||
# Contributing | ||
|
||
Please give [Chris a holler on Bitbucket](https://bitbucket.org/klembot) if you | ||
have a feature you would like to add or a change you'd like to make to existing | ||
functionality, so we can come to agreement on the change itself before you | ||
spend time writing code. Bugfixes don't require discussion, though -- we can | ||
hash things out in the comments of your pull request as needed. | ||
|
||
Pull requests should be accompanied by [Selenium IDE | ||
tests](http://docs.seleniumhq.org/projects/ide/) where possible; there are some | ||
things related to uploaded or downloaded files that Selenium isn't able to | ||
test. If you're adding a new JavaScript file, please make sure it has ["use | ||
strict";]() at the top, and passes the `grunt jslint` task, and that methods | ||
and classes are documented properly (we use | ||
[YUIDoc](https://yui.github.io/yuidoc/syntax/) -- use `grunt doc` to regenerate | ||
documentation). |
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
twinejs | ||
------- | ||
|
||
by Chris Klimas, Leon Arnott, Daithi O Crualaoich, Ingrid Cheung, Thomas | ||
Michael Edwards, Micah Fitch, Juhana Leinonen, and Ross Smith | ||
|
||
### SYNOPSIS | ||
|
||
This is a port of Twine to a local browser-based app. See | ||
[twinery.org](http://twinery.org) for more info. | ||
|
||
The story formats in minified format under storyformats/ exist in separate | ||
repositories: | ||
* [Harlowe](https://bitbucket.org/_L_/harlowe) | ||
* [Snowman](https://bitbucket.org/klembot/snowman-2) | ||
* [Paperthin](https://bitbucket.org/klembot/paperthin) | ||
|
||
### INSTALL | ||
|
||
Run `npm install` at the top level of the directory to install all goodies. | ||
|
||
You'll need [Gulp](http://gulpjs.com) to continue. Run `npm install -g gulp` | ||
(you will need to have administrator privileges to achieve this task). | ||
|
||
### BUILDING | ||
|
||
Run `gulp` to perform a basic build, including creating documentation in doc/; | ||
`gulp watch` will perform the same tasks whenever you make changes to the | ||
source code. `gulp release` will minify everything to as few files as possible | ||
into dist/web (full HTML version), dist/web-cdn (HTML version, using CDN | ||
resources), and dist/nw (native app versions). If you'd like to build only one | ||
type of release, run `gulp release:web`, `gulp release:web-cdn`, or `gulp | ||
release:nw`. | ||
|
||
In order to build Windows apps on OS X or Linux, you will need to have | ||
[Wine](https://www.winehq.org/) installed. **nb. NW.js builds are currently | ||
considered experimental, and have not been well-tested or documented.** | ||
|
||
### TESTING | ||
|
||
This uses [Selenium IDE](http://docs.seleniumhq.org/projects/ide/) for | ||
automated browser testing. Unfortunately, Selenium IDE does not like running on | ||
the file:// protocol because of JavaScript security restrictions. To facilitate | ||
testing, run `gulp server`, which will spin up a basic web server on port | ||
8000. |
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,143 @@ | ||
<!DOCTYPE html> | ||
<html data-build-number="{{build_number}}"> | ||
<head> | ||
<title>Twine</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> | ||
<meta charset="utf-8"> | ||
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon"> | ||
|
||
<!-- build:css_cdn rsrc/css/twine_cdn.css --> | ||
<link href="lib/fontawesome/css/font-awesome.css" rel="stylesheet" media="screen"> | ||
<!-- endbuild --> | ||
|
||
<!-- build:css rsrc/css/twine.css --> | ||
<link href="lib/codemirror/css/codemirror.css" rel="stylesheet" media="screen"> | ||
<link href="lib/codemirror/js/addon/hint/show-hint.css" rel="stylesheet" media="screen"> | ||
<link href="css/ui.css" rel="stylesheet" media="screen"> | ||
<link href="css/app.css" rel="stylesheet" media="screen"> | ||
<link href="css/welcomeview.css" rel="stylesheet" media="screen"> | ||
<link href="css/storylistview.css" rel="stylesheet" media="screen"> | ||
<link href="css/storyeditview.css" rel="stylesheet" media="screen"> | ||
<!-- endbuild --> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<div id="regions"> | ||
<div class="main"></div> | ||
</div> | ||
|
||
<div id="templates"> | ||
|
||
<script type="text/html" class="welcomeView"> | ||
#= include templates/welcomeview.html | ||
</script> | ||
|
||
<script type="text/html" class="welcomeViewNw"> | ||
#= include templates/welcomeviewnw.html | ||
</script> | ||
|
||
<script type="text/html" class="storyListView"> | ||
#= include templates/storylistview/storylistview.html | ||
</script> | ||
|
||
<script type="text/html" class="formatItem"> | ||
#= include templates/storylistview/formatitem.html | ||
</script> | ||
|
||
<script type="text/html" class="storyItemView"> | ||
#= include templates/storylistview/storyitemview.html | ||
</script> | ||
|
||
<script type="text/html" class="storyEditView"> | ||
#= include templates/storyeditview/storyeditview.html | ||
</script> | ||
|
||
<script type="text/html" class="searchModalResult"> | ||
#= include templates/storyeditview/searchmodalresult.html | ||
</script> | ||
|
||
<script type="text/html" class="singleStoryFormatItem"> | ||
#= include /templates/storyeditview/singlestoryformatitem.html | ||
</script> | ||
|
||
<script type="text/html" class="passageItemView"> | ||
#= include /templates/storyeditview/passageitemview.html | ||
</script> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
<!-- build:js_cdn rsrc/js/twine_cdn.js --> | ||
<script src="lib/jquery/jquery.js"></script> | ||
<!-- endbuild --> | ||
|
||
<!-- build:js rsrc/js/twine.js --> | ||
<script src="lib/jquery/jquery.omniwindow.js"></script> | ||
<script src="lib/jquery/jquery.powertip.js"></script> | ||
|
||
<script src="lib/underscore.js"></script> | ||
<script src="lib/backbone/backbone.js"></script> | ||
<script src="lib/backbone/backbone.localstorage.js"></script> | ||
<script src="js/eventedlocalstorage.js"></script> | ||
<script src="lib/backbone/backbone.marionette.js"></script> | ||
|
||
<script src="lib/blob.js"></script> | ||
<script src="lib/filesaver.js"></script> | ||
<script src="lib/fastclick.js"></script> | ||
<script src="lib/jszip.js"></script> | ||
<script src="lib/svg.js"></script> | ||
<script src="lib/uuid.js"></script> | ||
<script src="lib/xdate.js"></script> | ||
|
||
<script src="lib/codemirror/js/codemirror.js"></script> | ||
<script src="lib/codemirror/js/addon/display/placeholder.js"></script> | ||
<script src="lib/codemirror/js/addon/hint/show-hint.js"></script> | ||
<script src="lib/codemirror/js/addon/hint/css-hint.js"></script> | ||
<script src="lib/codemirror/js/addon/hint/javascript-hint.js"></script> | ||
<script src="lib/codemirror/js/mode/javascript/javascript.js"></script> | ||
<script src="lib/codemirror/js/mode/css/css.js"></script> | ||
|
||
<script src="js/ui.js"></script> | ||
<script src="js/nwui.js"></script> | ||
<script src="js/codemirror/prefixtrigger.js"></script> | ||
|
||
<script src="js/models/apppref.js"></script> | ||
<script src="js/models/passage.js"></script> | ||
<script src="js/models/storyformat.js"></script> | ||
<script src="js/models/story.js"></script> | ||
|
||
<script src="js/collections/appprefcollection.js"></script> | ||
<script src="js/collections/passagecollection.js"></script> | ||
<script src="js/collections/storycollection.js"></script> | ||
<script src="js/collections/storyformatcollection.js"></script> | ||
|
||
<script src="js/views/welcomeview.js"></script> | ||
<script src="js/views/storylistview/storyitemview.js"></script> | ||
<script src="js/views/storylistview/storypreview.js"></script> | ||
<script src="js/views/storylistview/storylistview.js"></script> | ||
<script src="js/views/storylistview/modals/formatsmodal.js"></script> | ||
<script src="js/views/storylistview/storagequota.js"></script> | ||
<script src="js/views/storyeditview/passageitemview.js"></script> | ||
<script src="js/views/storyeditview/storyeditview.js"></script> | ||
<script src="js/views/storyeditview/linkmanager.js"></script> | ||
<script src="js/views/storyeditview/marquee.js"></script> | ||
<script src="js/views/storyeditview/search.js"></script> | ||
<script src="js/views/storyeditview/toolbar.js"></script> | ||
<script src="js/views/storyeditview/editors/scripteditor.js"></script> | ||
<script src="js/views/storyeditview/editors/styleeditor.js"></script> | ||
<script src="js/views/storyeditview/editors/passageeditor.js"></script> | ||
<script src="js/views/storyeditview/modals/renamestorymodal.js"></script> | ||
<script src="js/views/storyeditview/modals/searchmodal.js"></script> | ||
<script src="js/views/storyeditview/modals/statsmodal.js"></script> | ||
<script src="js/views/storyeditview/modals/storyformatmodal.js"></script> | ||
|
||
<script src="js/router.js"></script> | ||
<script src="js/transregion.js"></script> | ||
<script src="js/app.js"></script> | ||
<!-- endbuild --> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.