Skip to content

inflated-goboscript/assert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

assert.gs

assert certain conditions, if not true, give an error

This is a assertion library which is built for goboscript. It is based on the stdlib implementation, but it is designed to be used with inflator.

Credits

  • aspizu for original version in stdlib

Installation

Make sure you have inflator installed

inflate install https://github.com/FAReTek1/assert

add assert to your inflator.toml config:

[dependencies]
# ...
assert = "https://github.com/FAReTek1/assert"

Development

use inflate install -e .:

  1. clone the respository: git clone https://github.com/FAReTek1/assert
  2. cd assert
  3. inflate install -e .
  4. cd test
  5. inflate
  6. goboscript build
  7. open test.sb3