Skip to content

thorntonrose/device

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Device

Device is an emulator for a fictional I/O control device.

Manual

See manual.md.

Install

To install:

GOSUMDB=off go install github.com/thorntonrose/device/cmd@latest

Build

Prequisites:

  • Go 1.25+
  • Mage 1.15+

To build:

mage build

Output is ./bin/device.

Run

To run:

./bin/device [flags] <file>

Run with -h or -help for help.

Test

To run tests:

[PACKAGE=<path>] [TESTS=<pattern>] mage test

<path> = a Go package path, e.g. ./internal/parser

<pattern> = a test name pattern, e.g. TestParse, ^TestParse$

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages