Skip to content

Build fails when janet-source depends on native module in project and (declare-executable) is used #71

@tionis

Description

@tionis

If a project.janet file contains both a (declare-native) module and janet-source-code that depends on it, the build fails, but only if an executable is to be build:
Exampel project.janet extracted from jeff

(declare-project :name "jeff" :author "Josef Pospíšil <josef.pospisil@laststar.eu>, tionis <janet@tionis.dev>" :description "Janet Extended Fuzzy Finder" :license "MIT" :url "https://tasadar.net/tionis/jeff" :repo "git+https://tasadar.net/tionis/jeff" :dependencies ["spork" "https://github.com/MorganPeterson/jermbox.git"]) (declare-native :name "fzy" :source ["fzy.c"]) (declare-source :source ["jeff"]) (declare-executable :name "jeff" :entry "jeff/cli.janet" :install true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions