assets

command module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

README

assets

Command assets compiles a directory content to a Go file.

Build status

available at https://modern-c.appspot.com/-/builder/?importpath=modernc.org%2fassets

Installation

$ go get [-u] modernc.org/assets

Documentation: godoc.org/modernc.org/assets

Documentation

Overview

Command assets compiles a directory content to a Go file.

Build status

available at https://modern-c.appspot.com/-/builder/?importpath=modernc.org%2fassets

Usage of assets:
  -d string
    	input directory (default "assets")
  -dotfiles
    	include files starting with .
  -map string
    	name of the map containing the assets (default "assets")
  -o string
    	output file name (default "assets.go")
  -package string
    	output package name (default "main")
  -dir string
    	add directory items
  -re string
    	regexp file filter

Jump to

Keyboard shortcuts

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