Skip to content

[WIP] Automatically run source files anywhere with docker and haskell

License

Notifications You must be signed in to change notification settings

yamadapc/autorun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autorun

Build Status Gitter chat


Run all lots of source-code files on any system with Docker and a binary, without having to install anything else.

It's still in an almost shameful state of development and is just 46L trivial lines of code - which don't really work that well... :P But it currently stands as a PoC, more than anything else. It also only runs JS... hehehe

Installing

I'm really sorry to say that this currently only compatible with linux. This is due to a docker bug which prevents us from mounting volumes when the docker daemon is running remotely (I took an infinite amount of time to figure that out). Also, since sudo is required, cabal install won't work :P.

This makes the current state of the project a little unusable, but that's alright.

That being said:

git clone https://github.com/yamadapc/autorun
cd autorun
cabal install --only-dependencies
cabal build
sudo cp dist/build/autorun/autorun /usr/bin # Or something like this

These are the instructions required to test on the vagrant vm, which is the only tested environment so far.

Usage

$ echo "console.log('hello world')" > something.js
$ sudo autorun something.js # Sadly sudo is currently needed

hello world

License

This code is released under the GPLv2 license for Pedro Tacla Yamada. Please refer to LICENSE for more information.

Donations

Would you like to buy me a beer? Send bitcoin to 3JjxJydvoJjTrhLL86LGMc8cNB16pTAF3y

About

[WIP] Automatically run source files anywhere with docker and haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published