d608d781创建于 1月22日历史提交
README.md

Wisp Examples

For each example, you have its respective module name. You can find the source associated to the example under ./src/$MODULE_NAME, and its tests under ./test/$MODULE_NAME.

To run an example, you can run the following:

# replace $MODULE_NAME with the name of the module associated to each example
gleam run -m $MODULE_NAME/app

To run the tests, do the following:

gleam test

If you would like to use these tests in your project, make sure to change the app keyword to the name of your project.

Examples

Here is a list of all the examples and their associated module name (formatted "$MODULE_NAME - Example title"):