Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

jbang integration #563

@jponge

Description

@jponge

Golo offers scripting / shebang support, and resolves other Golo modules and jar dependencies by scanning the filesystem.

Another (complementary) approach would be to offer jbang integration so that we could specify dependencies in Golo files, like this non-prescriptive example:

# DEPS io.vertx:core:3.9.4
module hello

import io.vertx.core.Vertx

function main = |args| {
  let vertx = Vertx()
  vertx: setPeriodic(1000L, |tick| -> println("tick"))
}

Wether this should be done by contributing to jbang or providing some helper (...jbang script? catalog?) on the Golo side remains to be investigated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions