Skip to content

Support archiving repo (like bazel http_archive)

Choose a tag to compare

@thautwarm thautwarm released this 30 Apr 05:50
· 23 commits to main since this release

The usage is demonstrated as follow:

import * as NM from "https://github.com/thautwarm/nomake/raw/v0.1.3/mod.ts"

const repo1 = NM.repoTarget(
    {
        repo: 'raysan5/raylib',
    }
)

NM.target(
    {
        name: 'build',
        deps: [repo1],
        rebuild: 'always',
        build({ deps })
        {
            const path = deps[0];
            NM.Log.info(`Cloning raylib at ${path}`, 'build')
        }
    }
)

NM.makefile()