Commit Graph

191 Commits

Author SHA1 Message Date
Jordan Liggitt
7f4fb1184f Allow excluding metadata from built assets 2015-08-13 15:37:16 -04:00
Jim Teeuwen
dce55d09e2 Merge pull request #107 from tamird/vet-shadow
Replace `go-nyet` with `go tool vet --shadow`
2015-08-08 02:19:13 +02:00
Tamir Duberstein
57e5327e97 Replace go-nyet with go tool vet --shadow
`go-nyet` is deprecated.
2015-08-07 16:36:36 -04:00
Jim Teeuwen
19c9a00bca Merge pull request #104 from jangler/master
Don't write NUL bytes in uncompressed_memcopy()
2015-07-28 18:58:31 +02:00
Brandon Mulcahy
96e3c9c230 Don't write NUL bytes in uncompressed_memcopy() 2015-07-28 07:21:58 -04:00
Jim Teeuwen
14ba83ac84 Merge pull request #103 from tsu-ku-ne/master
fix a bug that invalid convert to asset name if recursive
2015-07-21 11:10:03 +02:00
oda
94e9e44a67 fix a bug that invalid convert to asset name if recursive 2015-07-21 15:18:43 +09:00
Jim Teeuwen
281d36d28b Merge pull request #102 from tsu-ku-ne/master
Modify test to relate to function name
2015-07-16 08:30:07 +02:00
oda
0e7bf08e91 Modify test to relate to function name 2015-07-16 10:37:29 +09:00
Jim Teeuwen
564900b991 Merge pull request #101 from tsu-ku-ne/master
Fix bug that invalid converted asset name
2015-07-16 02:30:11 +02:00
oda
c2c7562055 Fix bug that invalid converted asset name 2015-07-15 19:02:56 +09:00
Jim Teeuwen
2026467100 Merge pull request #100 from mattn/to_slash
call ToSlash() to be slash separated paths also on Windows.
2015-07-03 11:09:08 +02:00
Yasuhiro Matsumoto
bd8da9c54b call ToSlash() to be slash separated paths also on Windows. 2015-07-03 11:51:55 +09:00
Jim Teeuwen
38ae5514e6 Merge pull request #99 from tamird/filepath-not-path
Use `filepath` everywhere instead of `path`
2015-07-02 18:58:11 +02:00
Tamir Duberstein
ff362dd1f1 Use filepath everywhere instead of path
For non-slashed paths (e.g. Windows) `path` does the wrong thing.
Sadly this is not documented, but a cursory glance at the go sources
reveals that `filepath` uses `os.PathSeparator` everywhere while
`path` uses a literal `"/"`.
2015-07-02 11:44:17 -04:00
Jim Teeuwen
91db54b040 Merge pull request #97 from ikawaha/feature/remove_unsafe_refect_from_compress_nomemcopy
Remove reflect and unsafe from header_compressed_nomemcopy
2015-06-14 21:50:11 +02:00
ikawaha
49f71bc21c Remove reflect and unsafe from header_compressed_nomemcopy 2015-06-13 23:32:09 +09:00
Jim Teeuwen
eb723d5626 Merge pull request #96 from tsu-ku-ne/master
Fix runtime error: index out of range
2015-06-10 11:06:00 +02:00
oda
6a532a6d90 Fix runtime error: index out of range 2015-06-10 12:32:55 +09:00
Jim Teeuwen
83a44d533b Merge pull request #93 from gelraen/files
Fix handling of individual files in subdirectories
2015-06-01 15:14:37 +02:00
Maxim Ignatenko
a4f78e909c Fix handling of individual files in subdirectories 2015-06-01 13:27:45 +01:00
Jim Teeuwen
3ad80867de Merge pull request #92 from tsu-ku-ne/master
Fix bug that invalid generate Go code.
2015-05-29 13:51:24 +02:00
oda
1788809334 Ignore prefix if start with . 2015-05-29 18:00:38 +09:00
Jim Teeuwen
b0c5bef59f Merge pull request #91 from tamird/diff-take-2
Insert a newline
2015-05-28 20:39:38 +02:00
Tamir Duberstein
ca29b0b7f5 Insert a newline 2015-05-28 10:30:35 -04:00
Jim Teeuwen
69db088dee Merge pull request #90 from tamird/generated-by
Insert "generated by" comments
2015-05-28 13:39:15 +02: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
Jim Teeuwen
eb01a153be Merge pull request #86 from tamird/golint
Golint
2015-05-26 22:39:33 +02:00
Tamir Duberstein
dfcf23b04e camelCase instead of snake_case 2015-05-11 21:44:51 -04:00
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