BuildIt is a program to run any file that you defined.
If you don't have Golang installed in your machine, do these commands:
git clone https://github.com/lissaferreira/buildit
cd buildit
sudo cp bin/buildit /usr/bin/buildit
Install Golang with your package manager, and install BuildIt
To install BuildIt use:
go get -u github.com/lissaferreira/buildit
create a file ~/.buildit.yaml
, with the languages and compiler/runner commands, like this:
js:
- node
- yarn serve
go:
- go run
sh:
- sh
php:
- php
pdf:
- zathura
rb:
- ruby
use buildit [FILE]
, like buildit main.go
.
Arguments can be passed only putting in the end, like buildit index.js --argument=argument