Skip to content
vernisazPublic

About

A scripting language interpreter for building projects

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

305 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Bee

Introduction

The topic of build scripts will never end. I did one for Java called 7Bee. Then I started using it for building Rust projects too. Soon, I decided to rewrite it in Rust. Major disadvantage of 7Bee was using XML that made all scipts too bulky. So one of the goals of the Rust Bee was getting rid of XML, reducing the scripts footprint and making them easy readable.

Rust Bee scripting language

The language is described here.

Bulding

It's a self building tool, however it needs a bootstrapping. 7Bee is used for the purpose (see instructions inside). You can use RustBee itself for building it after you built the starter version.

The RustBee script has one dependency SimScript. Clone it first at the same directory level as rust_bee. You can use the install target of the script for installing the tool.

Dependencies

The following crates will be required to build the RustBee

Their repositories need to be checked out before building the RustBee.

and

if HTTP get is enabled, then the following crates need to be built prior:

If RustBee used for building them, then the build scripts are:

# from https://github.com/jayjamesjay/http_req
# the repository location - workspace/side/http_req
crate  =http_req
crate main=lib
crate_src=src
dep_crates=[]
comp opts=[--extern,unicase]
test file=examples/get
#all paths are relative assuming that the crate resides in workspace/side/http_req
common =..${~/~}..${~/~}simscript${~/~}comm-crate.7b:file
common_test =..${~/~}..${~/~}simscript${~/~}comm-test.7b:file
crate_dir=..${~/~}..${~/~}crates 

include(common);

include(common_test)

and

# from https://github.com/seanmonstar/unicase
# the repository location - workspace/side/unicase
crate  =unicase
crate main=lib
crate_src=src
dep_crates=[]
comp opts=[]
test file=test
common =..${~/~}..${~/~}simscript${~/~}comm-crate.7b:file
common_test =..${~/~}..${~/~}simscript${~/~}comm-test.7b:file
crate_dir=..${~/~}..${~/~}crates

include(common);

Color

Since the product supports a colorized output, it obeys rules used by SimColor.

Version

The current version is 1.19.03 (SI edition).

Scripting examples

Some examples of using RustBee can be found here.

SI

People use Python for SI development, however the scripting language is also useful for the purpose.

About

A scripting language interpreter for building projects

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages