-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
What is this?
This is a proposal to extend the configuration format to have a new workspaces parameter. Workspaces are directories that can serve as bases for execution of tests. They are constructed at competition build time and copied into testing environments at runtime. This came about when thinking about the Gleam programming language which uses a project-driven workflow rather than allowing you to compile just a single file.
Gleam example with no templating:
[workspaces]
gleam-env = { setup = "yes | gleam new ." }
# A more complex workspace with a base, gleam project, and dependencies
[workspaces.gleam-env-two]
from = "./some_dir" # some directory to act as base (perhaps you want some files pre-included)
setup = '''
yes | gleam new .
gleam add dateformat@1
gleam add birl
'''
[languages.gleam]
build = "gleam build"
run = "gleam run"
workspace = "gleam-env"
source_file = "src/main.gleam"Metadata
Metadata
Assignees
Labels
No labels