Commit Graph

19 Commits (master)

Author SHA1 Message Date
Noah 7816a8a362 Update package paths and README 2018-10-05 08:30:57 -07:00
Jordan Liggitt 7f4fb1184f Allow excluding metadata from built assets 2015-08-13 15:37:16 -04:00
Tobias Schottdorf b5d9eff767 add `mode` and `modTime` flags
In some situations, it is desired to have reproducible runs of `go-bindata`
from a fixed git repository commit. Since mtimes and file modes are not
generally versioned, the newly introduced flags aid in that quest by allowing
to completely replace those two pieces of data by something fixed.

Example:
//go:generate go-bindata -pkg resource -mode 0644 -modtime 1388530800 \
                         -o ./embedded.go ./ui/...
2015-03-10 19:17:17 +01:00
Beyang Liu 0efad67aa4 add -dev flag, similar to -debug but does not emit absolute file paths 2015-01-26 15:56:13 -08:00
Ian Kent 7f6fddddd0 Add support for -ignore 2014-04-29 23:42:13 +01:00
Jim Teeuwen 212d2a5cdc Fixes typo in flag description. 2014-04-10 18:10:22 +02:00
Jim Teeuwen 20077324b7 Removes debug print output. 2014-01-28 23:32:50 +01:00
Jim Teeuwen 4674192d6b Implement supp-ort for multiple input paths in command line tool. 2013-11-16 12:19:19 +01:00
Jim Teeuwen 14a0ff90f8 Adds -o flag to specify output file name. 2013-11-16 12:08:37 +01:00
Alan Shreve bd1a47dfea be more helpful on no-argument invocation 2013-11-08 21:31:55 +02:00
Alan Shreve 7ab45c816f add support for converting multiple directories simultaneously 2013-11-08 17:21:11 +02:00
Alan Shreve 2c7ab48825 use 'go' command style recursion indicators on path inputs rather than a recursive flag 2013-11-08 17:14:25 +02:00
Jim Teeuwen a36b3d3839 Adds the -r command line flag. This determines if the input
directory should be processed recursively or not. The default
is false.

Fixes the package to use this flag.

Revises the README and adds a docs.go file which holds
package documentation.
2013-10-30 16:08:29 +01:00
Jim Teeuwen c385518c06 Performs some minor cleanup.
Adds testdata output for a debug build.
Fixes README to reflect new features and behaviour.
2013-10-30 15:24:59 +01:00
Jim Teeuwen cca9f8e6b7 Removes output of both debug and release code. There really
is no point to this.

All output (including TOC) is now written to a single output file.
This allows us to have different output file names to be specified.
Each for a different version generated code with its own build tags.
Consequently offering much greater flexibility in the way generated
code is to be used in a host application.

Fixes test outputs to match all these changes.
2013-10-30 14:45:04 +01:00
Jim Teeuwen 12a480432a Implements writing of TOC file. Refactors code for debug and release
writers. Adds output examples for various output modes.
2013-10-30 13:14:58 +01:00
Jim Teeuwen 17f2782db6 Implements output of debug code.
Partially imlpements output of release code.
Reorganizes testdata directory.
2013-10-30 02:11:04 +01:00
Jim Teeuwen c4d457542a Add some more test files and directories and implement locating
of asset files.
2013-10-29 18:23:52 +01:00
Jim Teeuwen 560fbff5df Main directory becomes the library. go-bindata subdir holds
the command code.
2013-10-29 16:17:14 +01:00