Commit Graph

18 Commits

Author SHA1 Message Date
Ryosuke IWANAGA
f80b50711d Fix bug of knownFuncs usage when findFiles is called recursively 2014-12-09 22:07:31 +09:00
Ryosuke IWANAGA
0267f6e673 Add RestoreAsset/RestoreAssets methods 2014-12-08 23:02:06 +09:00
Jessica Forrester
fcbedc59d6 Sort before generating unique function names to get stable output 2014-11-24 16:10:21 -05:00
Jordan Liggitt
853793af8f Output TOC and tree in sorted order to make output stable between invocations. Addresses issue #49 2014-09-29 16:32:04 -04:00
Stephen Searles
cfd1b4bd08 Appending a count for filenames that end up being duplicated by
sanitization. Addresses issue #46.
2014-08-17 17:15:30 -07:00
opennota
6347e7a31c Accept individual files as parameters 2014-08-05 19:23:20 +07:00
Elazar Leibovich
c15090e68a Support directory listing with AssetDir(dirname string)
Signed-off-by: Elazar Leibovich <elazarl@gmail.com>
2014-07-13 12:50:11 +03:00
Ian Kent
7f6fddddd0 Add support for -ignore 2014-04-29 23:42:13 +01:00
SATO taichi
eb1b26017a Use / in the name of the asset.
Windows path separator is not / in \.
2014-02-28 20:33:10 +09:00
Jim Teeuwen
ae22b84b7e Imlpement buffered output writer for increased performance.
This addresses issue 14.
2014-01-29 11:28:32 +01: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
ca6a684780 Fixes another code comment. 2013-11-01 10:30:39 +01: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
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