vorpal-sdk 0.1.0-alpha

Vorpal SDK for building Vorpal configurations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{artifact::language::go::GoBuilder, context::ConfigContext, source::go_tools};
use anyhow::Result;

pub async fn build(context: &mut ConfigContext) -> Result<String> {
    let name = "gopls";

    GoBuilder::new(name)
        .with_build_directory(name)
        .with_source(go_tools(name))
        .build(context)
        .await
}