Tint
Create Desktop Javascript Applications.
https://www.trueinteractions.com/tint2/docs/
This documentation is for contributors to Tint.
Getting Started
- Download: https://github.com/trueinteractions/tint2/releases/
- Documentation/Tutorials: https://www.trueinteractions.com/tint2/docs/
- Questions: https://groups.google.com/forum/#!categories/trueinteractions
- Commercial Support https://www.trueinteractions.com
Status
OSX | Windows | Linux | iOS | Android | |
---|---|---|---|---|---|
Build | N/A | Yes | N/A | ||
Unit Tests | N/A | No (48% Pass) | N/A |
Compiling Tint
Ensure you have Xcode, OSX Mountain Lion, git and Python 2.6 (or 2.7). MacOS X
mkdir tint
cd tint
git clone https://github.com/trueinteractions/tint2.git .
./tools.sh config
./tools.sh build
./tools.sh test
Ensure you have Visual Studio 2010 SP1 and WinSDK 7.0 (note problems occur with different WinSDK's and Visual Studio Systems), Windows 7, git and Python 2.6 (or 2.7). Building does not require (nor support) cygwin or other shell systems. Windows
64-bit build (default)
mkdir tint
cd tint
git clone https://github.com/trueinteractions/tint2.git .
tools.bat config
tools.bat build
tools.bat test
32-bit build
mkdir tint
cd tint
git clone https://github.com/trueinteractions/tint2.git .
tools.bat config x86
tools.bat build x86
tools.bat test
Ensure you have ninja-build, build-essential, libgirepository1.0-dev, systemtap-sdt-dev, libgtk-3-dev and clang installed (e.g., using apt-get.) Linux (In-Progress)
GTK (Ubuntu) 64-bit build (default)
mkdir tint
cd tint
git clone https://github.com/trueinteractions/tint2.git .
./tools.sh config
./tools.sh build
./tools.sh test
You can also use tools.sh clean
to clean the build, or tools.sh build debug
for a debug build (these commands also work on tools.bat)
After building you'll find the binary in ``build/xcode/Release/tint`` or ``build\msvs\Release\tint.exe``. You can also use the Xcode project files or MSVS 2010 files in ``build\xcode`` and ``build\msvs``. Optionally you can use ninja build files that are generated in ``build/ninja/out/Release`` and ``build/ninja/out/Debug`` on posix (OSX only at the moment). Post-Build
If you have issues compiling ensure you're using Python 2.7 or 2.6 (``./tools.sh config`` (``tools.bat config`` on Windows) will print out the python version it plans to use). In addition ensure your CC environment variable is set to Xcode's built in clang and not an alternate GCC version. Use ``echo $PYTHON`` (``echo %PYTHON%`` on Windows) and ``echo $CC`` (``echo %CC%`` on Windows) to check to see if any of these are set to alternate versions. Troubleshooting Builds
On OSX some third-party utility systems such as brew may overwrite these to values that are not compatible with OSX Xcode/clang builds. If you're still having issues you can build using the Xcode project files in ./build/xcode/
directory.
Credits
Tint relies on these amazing open source projects. Check them out.
- Node by Joyent+Contributors https://github.com/joyent/node/
- NodObjC https://github.com/TooTallNate/NodObjC/
- Node FFI & FFI Library (Google libffi/node-ffi ?)
- node-ref, node-buffer https://github.com/TooTallNate/
- Cassowary .NET Constraint Solver
- V8 by Google
- (Inspired content also from Edge.JS, although not used).
Tint is licensed under the MIT license. License
For the latest updates/news http://www.twitter.com/trevorlinton
Commercial support available at http://www.trueinteractions.com/
Copyright © 2016 True Interactions