Tamir Duberstein
4fc85e2b3c
Better Makefiles
2015-05-11 21:39:32 -04:00
Tamir Duberstein
dada32c78b
Early return
2015-05-11 15:47:48 -04:00
Tamir Duberstein
6b468a429a
bintree
2015-05-11 15:46:01 -04:00
Tamir Duberstein
ba26659a34
bindataFileInfo
2015-05-11 15:45:16 -04:00
Tamir Duberstein
4f258b3140
Comment style
2015-05-11 15:44:41 -04:00
Tamir Duberstein
ffff253524
bindataRead
2015-05-11 15:42:14 -04:00
Tamir Duberstein
4d36d97d1d
golint
2015-05-11 15:33:37 -04:00
Jim Teeuwen
d0a5f1749d
Merge pull request #85 from tamird/go-nyet
...
Incorporate go-nyet
2015-05-11 20:45:43 +02:00
Tamir Duberstein
fff92e7dec
Incorporate go-nyet
2015-05-11 09:48:50 -04:00
Jim Teeuwen
a15f234cb1
Merge pull request #84 from tamird/errcheck
...
Emit `errcheck`-passing code
2015-05-09 14:00:24 +02:00
Tamir Duberstein
c3e4c77465
Emit errcheck
-passing code
2015-05-08 16:15:37 -04:00
Tamir Duberstein
476077970b
Regenerate testdata
2015-05-08 16:15:24 -04:00
Jim Teeuwen
76a6418a0a
Merge pull request #82 from abates/feature/FollowSymlinks
...
Implementation for following symlinks
2015-04-16 17:24:44 +02: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
Jim Teeuwen
f449dcd26c
Merge pull request #81 from liggitt/ascii
...
Always encode binary data to ascii-escaped strings
2015-04-02 02:05:19 +02:00
Jordan Liggitt
1d06945605
Always encode binary data to ascii-escaped strings
2015-04-01 15:44:58 -04:00
Jim Teeuwen
21f0a65fc5
Merge pull request #80 from srhnsn/master
...
Always split by forward slashes when writing the TOC tree.
2015-03-21 19:11:58 +01:00
Serhan Şen
9178943e13
Always split by forward slashes when writing the TOC tree.
...
At that point, all slashes are normalized as forward slashes.
2015-03-21 16:36:03 +01:00
Jim Teeuwen
7362d4b6b2
Merge pull request #74 from tschottdorf/master
...
add `mode` and `modTime` flags
2015-03-10 19:22:57 +01: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
Jim Teeuwen
040617c5ef
Merge pull request #73 from jbreitbart/master
...
Added MustAsset function.
2015-03-08 22:15:58 +01:00
Jens Breitbart
81e20ed1b7
Added MustAsset function.
2015-03-08 12:42:30 +01:00
Jim Teeuwen
8ee21af0fa
Merge pull request #72 from shurcooL/remove-unused-Config-field
...
Remove unused field in Config.
2015-02-26 02:52:18 +01:00
Dmitri Shuralyov
af127dc2da
Remove unused field in Config.
...
Commit 2c7ab48825
added new struct
InputConfig which contains Path string and Recursive bool. The rest of
go-bindata has been changed to use that.
The Recursive flag inside Config is now completely unused, and should
be removed since it makes code harder to read.
2015-02-25 17:34:33 -08:00
Jim Teeuwen
8ec170e704
Merge pull request #69 from beyang/master
...
add -dev flag, similar to -debug but does not emit absolute file paths
2015-01-27 01:35:24 +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
Jim Teeuwen
4a8e91e5cd
Merge pull request #66 from shurcooL/patch-1
...
Update README to mention go get -u.
2015-01-09 11:22:27 +01:00
Dmitri Shuralyov
e3850a4b3c
Update README to mention go get -u.
...
This will help prevent/reduce issues such as #65 .
2015-01-09 01:13:54 -08:00
Jim Teeuwen
452770b024
Merge pull request #64 from riywo/fix/recursive_knownFuncs
...
Fix bug of knownFuncs usage when findFiles is called recursively
2014-12-09 16:43:41 +01:00
Ryosuke IWANAGA
f80b50711d
Fix bug of knownFuncs usage when findFiles is called recursively
2014-12-09 22:07:31 +09:00
Jim Teeuwen
7159dbfa31
Merge pull request #63 from riywo/fix/testdata
...
Update testdata/out
2014-12-09 12:36:31 +01:00
Ryosuke IWANAGA
fc595e391e
Update testdata/out
2014-12-09 14:41:25 +09:00
Jim Teeuwen
f7b87a0a9a
Merge pull request #62 from riywo/restore
...
Add RestoreAsset/RestoreAssets methods
2014-12-08 17:11:19 +01:00
Ryosuke IWANAGA
0267f6e673
Add RestoreAsset/RestoreAssets methods
2014-12-08 23:02:06 +09:00
Jim Teeuwen
9091c617ee
Merge pull request #61 from riywo/add-file-info
...
Add AssetInfo() to use FileInfo
2014-12-08 00:26:27 +01:00
Ryosuke IWANAGA
5dec5f37be
Adjust release mode for AssetInfo()
2014-12-08 07:35:15 +09:00
Ryosuke IWANAGA
f9f833bc6e
Add AssetInfo() into debug mode using type asset
2014-12-08 07:31:35 +09:00
Jim Teeuwen
f94581bd91
Merge pull request #59 from jwforres/sort_sooner
...
Sort before generating unique function names to get stable output
2014-11-25 11:17:39 +01:00
Jessica Forrester
fcbedc59d6
Sort before generating unique function names to get stable output
2014-11-24 16:10:21 -05:00
Jim Teeuwen
bbd0c6e271
Merge pull request #56 from jwforres/fix_compilation_mem_bloat
...
Fix extreme memory bloat during compile time. Also, when strings are valid UTF-8 inline them directly as raw strings when in uncompressed mode.
2014-11-20 18:47:17 +01:00
Jessica Forrester
2c5bf09f1b
Fix extreme memory bloat during compile time. When using uncompressed mode show raw UTF-8 strings for better diffs.
2014-11-20 10:29:22 -05:00
Jim Teeuwen
da92400a92
Merge pull request #55 from shurcooL/patch-1
...
Fix Asset signature in README.
2014-11-16 11:22:31 +01:00
Dmitri Shuralyov
0e05e3a19d
Fix Asset signature in README.
...
See https://github.com/jteeuwen/go-bindata/pull/54#discussion_r20400279 .
2014-11-15 19:45:57 -08:00
Jim Teeuwen
1796683e4d
Merge pull request #54 from arschles/fix-readme
...
fixing the readme to indicate err return
2014-11-15 01:21:54 +01:00
Aaron Schlesinger
8f6e0a3425
fixing the readme to indicate err return
...
from a test that I wrote in https://github.com/arschles/go-bindata-test , it looks like go-bindata generates an Asset(...) function that returns an error when the file isn't found
2014-11-14 14:38:19 -08:00
Jim Teeuwen
1743f47c01
Merge pull request #50 from liggitt/sorted_order
...
Output TOC and tree in sorted order
2014-09-29 23:50:12 +02: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
jimt
93b909d149
Merge pull request #47 from stephens2424/master
...
Appending a count for filenames that end up being duplicated by
2014-08-18 04:00:46 +02: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
jimt
64e31e0c92
Merge pull request #43 from Byron/master
...
AssetDir is now able to list the data root.
2014-08-07 16:44:26 +02:00