o
odin.langpkg.dev
packages / library / build.odin

build.odin

057be18library

No description provided.

MIT · updated 2 years ago

build.odin

Quick Start

  1. Clone the repository to your project or add it as a submodule.
$ git clone https://github.com/spitulax/build.odin --depth 1 shared/build.odin
  1. Create a build script.

build.odin:

package build

import b "shared/build.odin"
import "core:log"

start :: proc() -> (ok: bool) {
    log.info("Hello, World!")
    return true
}

main :: proc() {
    b.start(start)
}
  1. Run the build script.
$ odin build build.odin -file && ./build