scriptisto-0.1.0 is not a library.
Scriptisto
This is not an officially supported Google product
Demo
#!/usr/bin/env scriptisto
// scriptisto-begin
// script_src: main.c
// build_cmd: clang -O2 main.c `pkg-config --libs --cflags glib-2.0` -o ./app
// target_bin: @@@/app
// scriptisto-end
int
$ chmod +x ./script.c
$ ./script.c
Hello, C! Current user: username
Installation
Install Rust, for example via https://rustup.rs/. Then
$ cd scriptisto
$ cargo install --force --path .
Creating scripts from templates
Try one of the script templates from one of the language available. To see the list:
$ scriptisto -g
Then generate your basic script:
$ scriptisto -g rust | tee ./rust-script
$ chmod +x ./rust-script
$ ./rust-script
Hello, Rust!
Contributing
See Contributing Guide.