Skip to content

peterhellberg/w4-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

w4-init ✨

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

w4-init is used to create a directory containing code that allows you to promptly get started coding on a cart for the lovely little fantasy console WASM-4.

The Zig build .target is declared as .{ .cpu_arch = .wasm32, .os_tag = .wasi } 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/w4-init@latest

Usage

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

w4-init mycart
cd mycart
zig build run

Note

There is also a zig build spy command.

🌱

About

Initialize a Zig ⚡ WASM-4 cart project

Resources

License

Stars

Watchers

Forks

Packages

No packages published