Skip to content

A server, VM and command line tool to pre-compile binaries for Tessel 2

License

Notifications You must be signed in to change notification settings

muskanmahajan37/t2-compiler

 
 

Repository files navigation

t2-compiler

Docker Hub | tessel/t2-compiler

Building Packages

Use vagrant or docker

Vagrant

Install vagrant

vagrant up
./compile-vagrant.sh serialport@2.0.5

Look in the 'out' directory

Docker

If you want to use docker you can run;

# puts the output in the `./out` directory (wont overwrite existing files)
./compile-docker.sh serialport@4.0.0

# docker run -v ~/Desktop:/out tessel/t2-compiler [package name]<@version>
# eg to put the packages in the current directory (wont overwrite existing files)
docker run -v `pwd`:/out tessel/t2-compiler serialport@4.0.0 /out

Developing the compiler

Clone this repo, cd into it, make changes to compile-docker.sh and...

docker build -t tessel/t2-compiler ./
docker push tessel/t2-compiler

To get an interactive shell run

docker run -it --entrypoint bash tessel/t2-compiler

About

A server, VM and command line tool to pre-compile binaries for Tessel 2

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 53.1%
  • JavaScript 46.9%