ff-init

command module
v0.0.0-...-a1c8c9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 11 Imported by: 0

README

ff-init ✨

This is a command line tool that acts as a companion to my ff module for Zig

ff-init is used to create a directory containing code that allows you to promptly get started coding on an app (or game) for the lovely little WebAssembly console Firefly Zero.

The Zig build .target is declared as .{ .cpu_arch = .wasm32, .os_tag = .freestanding } and .optimize is set to .ReleaseSmall

[!Important] No need to specify -Doptimize=ReleaseSmall

Installation

(Requires you to have Go installed)

go install github.com/peterhellberg/ff-init@latest

Usage

(Requires you to have an up to date (nightly) version of Zig installed.

ff-init myapp
cd myapp
zig build run

[!Note] There is also a zig build spy command.

[!Tip] If you want minimal output then you can use the -minimal flag.

(List all of the available flags with -help)

🌱

Screenshot

Firefly Zero app showing the Zig logo

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL