Skip to content

Meta comments support for giter statement  #3

@onouguier-ledger

Description

@onouguier-ledger

Would be nice to add kinda support for meta comments in the source project, eq:

// -g8- if(dbmigration.truthy)
        _ <- DBMigration[IO].migrate("db/migrations")
// -g8- endif

Could be rendered as:

$if(dbmigration.truthy)$
        _ <- DBMigration[IO].migrate("db/migrations")
$endif$

And append a default properties:

dbmigration=false

Out ou the box it works with a Perl (postprecessing), I would be more than happy to open a PR with this feature if you are interested.

Cheers, and kudo for this <3 project !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions