oda
6a532a6d90
Fix runtime error: index out of range
2015-06-10 12:32:55 +09:00
Maxim Ignatenko
a4f78e909c
Fix handling of individual files in subdirectories
2015-06-01 13:27:45 +01:00
oda
1788809334
Ignore prefix if start with .
2015-05-29 18:00:38 +09:00
Tamir Duberstein
ca29b0b7f5
Insert a newline
2015-05-28 10:30:35 -04:00
Tamir Duberstein
36d53ead3a
Insert "generated by" comments
...
This allows Github to suppress diffs in generated files.
2015-05-27 19:52:04 -04:00
Tamir Duberstein
e01811006d
Style
2015-05-27 19:51:30 -04:00
Tamir Duberstein
dfcf23b04e
camelCase instead of snake_case
2015-05-11 21:44:51 -04:00
Andrew Bates
465fc29db9
Implementation for following symlinks
...
This is an implementation where findFiles will follow symlinks and keep
track of paths already followed. No paths will be evaluated more than
once, therefore preventing recursive link evaluation.
Commit includes test cases and test data
2015-04-16 09:38:06 -04: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
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