Commit Graph

24 Commits

Author SHA1 Message Date
Paris Kasidiaris
081fe3f301 Fix #359 - Introduce build system based on Gulp
- Add Gulp and new dependencies to `package.json`
- Add `gulpfile.js` with four tasks:
    - `tsc`: For building TypeScript sources
    - `bundle`: For bundling JavaScript modules in a monolith
    - `sorcery`: For resolving the source map chains back to the original TypeScript files
    - `build` (`default`): Runs the whole `tsc` → `bundle` → `sorcery` chain
- Clean up `Dockerfile`, since `cpio` is not needed any more
- Clean up not needed dependencies from `package.json`
- Remove `bin/build`
- Update `bin/release` to use `npm run build` instead of `./bin/build`
2017-01-11 08:11:45 +00:00
Paris Kasidiaris
adaaeb6f36 Include appropriate files in npm.
Fix #414
2016-12-15 23:49:43 +02:00
Paris Kasidiaris
56ca7743a8 Always build TypeScript in lib/ 2016-12-14 01:10:03 +02:00
Paris Kasidiaris
70ec2496db Remove export from build script 2016-12-05 21:29:50 +02:00
Paris Kasidiaris
243d76617b Create the build directory if it does not exist already 2016-12-05 13:34:10 +02:00
Paris Kasidiaris
6cc66a0b20 Bring back the build directory for temporary builds
Fix #375
2016-12-05 13:17:13 +02:00
Daniel Imms
83b06c6bb0 Clean out/* on build in case src/* files were deleted
If files in src/ were compiled and then deleted they will hang around in out/
until deleted. This can potentially cause difficult to diagnose build/test
errors. This commit removes all files from out/ but keeps the folder to
prevent editor file watchers from seeing the folder was deleted and shifting
the file explorer around.

Fixed #381
2016-11-28 10:52:03 -08:00
Daniel Imms
c63732ef5f Set up source maps
Fixes #354
2016-11-12 14:24:57 -08:00
Daniel Imms
56ecc77dfc Refactor TS build and fix testing
This change is largely just moving files with minor tweaks to them to fix,
the rest of the commit is build process changes:

- The addons/ and test/ dirs have been moved to src/
- The build directory has been removed
- TypeScript builds are output in out/, this is where tests are run
- The demo now relies on the dist/ build which is performed as part of ./bin/build
- Addons are now shipped under the ./build directory
2016-10-31 21:22:21 -07:00
Daniel Imms
a995b610cf Remove typings (not needed in TS 2+) 2016-10-31 19:30:35 -07:00
Daniel Imms
332bc6be76 Merge remote-tracking branch 'upstream/master' into typescript_build_2 2016-10-31 19:29:36 -07:00
Paris Kasidiaris
d581559dd4 Fix release scripts 2016-10-03 15:32:14 +03:00
Daniel Imms
bd994f9e57 Install typings on build and add to git ignore 2016-10-01 12:22:57 -07:00
Daniel Imms
441009d359 Move to TypeScript build 2016-10-01 00:29:33 -07:00
Paris Kasidiaris
ed1a31d1cf Make src/xterm.js ES2015 and export EventEmitter into its own file
Fix #158
2016-08-29 19:51:40 +00:00
Paris Kasidiaris
05aff199b2 Improve "prepare-release" and introduce "release" scripts
Has to do with #244.
2016-08-24 01:43:37 +03:00
Paris
5ddf6301c2 Add Sign-Off flag as well 2016-08-05 16:49:04 +03:00
Paris
14dd2c0afb Require release commits to be signed 2016-08-05 11:21:27 +00:00
Paris
7fdfc62237 Introduce prepare-release script 2016-07-18 10:43:35 +03:00
Paris
9fa0f00c23 Add AUTHORS and AUTHORS generator script 2016-07-18 10:04:04 +03:00
Daniel Imms
623853f3f4 Get demo working on Windows
- Removed bin bash scripts in favor of npm scripts so they work
  cross-platform
- Moved to use 127.0.0.1 as 0.0.0.0 doesn't work on Windows

Note that this doesn't work with the current pty.js as it doesn't build on
Windows.
2016-06-13 15:55:47 -07:00
Paris
fa093e2bd2 Set up environment for testing 2016-06-09 10:04:53 +03:00
Paris
53e8df40bb Implement fully featured terminal demo w/ static fallback 2016-06-07 08:41:41 +00:00
Paris
8ebfa27210 Merge branch 'master' of github.com:sourcelair/xterm.js into content-editable 2016-06-02 12:00:31 +03:00