Commit Graph

167 Commits

Author SHA1 Message Date
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
Sebastian Thiel
6ca6b73691 AssetDir is now able to list the data root.
Previously, it was impossible to get a listing of entries right underneath
the data root.

Such a query is now possible by passing an empty string as data root.
2014-08-07 16:24:25 +02:00
jimt
388b47b5ff Merge pull request #42 from opennota/files_as_params
Accept individual files as parameters
2014-08-05 15:59:05 +02:00
opennota
6347e7a31c Accept individual files as parameters 2014-08-05 19:23:20 +07:00
jimt
b040f60a8c Merge pull request #41 from ctl80/patch-1
Fixing small grammar error.
2014-08-01 14:18:09 +02:00
ctl80
68a53ac0c2 Fixing small grammar error. 2014-08-01 06:49:15 -05:00
jimt
c3d7350481 Merge pull request #40 from elazarl/patch-1
Refer to go-bindata-assetfs in README
2014-07-14 11:06:04 +02:00
Elazar Leibovich
d47bbf733e refer to go-bindata-assetfs in README 2014-07-14 06:50:09 +03:00
jimt
54e5992f47 Merge pull request #39 from elazarl/pullreq
Support directory listing with AssetDir(dirname string)
2014-07-13 15:34:24 +02: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
Jim Teeuwen
d3feb9534c Removes unnecessary return in writeReleaseAsset. This satisfies
the rules for `go vet`. Addresses issue #35

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
2014-06-09 12:31:18 +02:00
Jim Teeuwen
17800c65a0 Fixes formatting of various generated outputs to be
more compatible with `go fmt`. This partially addresses
issue #34

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
2014-05-28 14:43:02 +02:00
jimt
394d5b27c0 Merge pull request #32 from XenoPhex/master
Asset retrieval is independent of OS Path
2014-05-16 20:22:52 +02:00
Anand Gaitonde and Michael Maximilien
f93f031745 Asset retrieval is independent of OS Path
That is for Windows \\ are replaced with / since the
asset map uses paths with /
2014-05-16 10:34:04 -07:00
jimt
4b70a41eb8 Merge pull request #31 from yosssi/fix-toc-footer
Remove the unnecessary line break of the TOC footer
2014-05-12 17:52:26 +02:00
yosssi
ff2ab748eb Remove the unnecessary line break of the TOC footer 2014-05-13 00:39:28 +09:00
jimt
8abc1cae37 Merge pull request #30 from yosssi/add-assetnames
Add `AssetNames` function which returns the names of the assets.
2014-05-12 12:34:24 +02:00
yosssi
e764a84fdf Fix the following things:
* Change `for name, _ := range _bindata` to `for name := range _bindata {`
* Format the souce codes
2014-05-12 18:15:42 +09:00
yosssi
57a8ec74ce Add AssetNames function which returns the names of the assets. 2014-05-12 13:59:00 +09:00
jimt
6c168add63 Merge pull request #29 from yosssi/fix-contributing
Fix a typo of CONTRIBUTING.md (Update from "chose" to "choose")
2014-05-10 20:00:37 +02:00
jimt
ab3c8e2995 Merge pull request #28 from yosssi/fix-config-validate
Fix `*Config.validate` method not to make a directory when the `-o` flag's path does not have a directory.
2014-05-10 19:59:02 +02:00
yosssi
cda5f335ae Fix a typo of CONTRIBUTING.md (Update from "chose" to "choose") 2014-05-11 02:55:35 +09:00
yosssi
ca7033b19a Fix *Config.validate method not to make a directory when the -o flag's path does not have a directory. 2014-05-11 02:42:25 +09:00
jimt
2ebf002fb5 Merge pull request #26 from ian-kent/master
Add support for -ignore
2014-04-30 01:41:00 +02: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
3834e2fe48 Fixes some code comments. 2014-03-07 22:13:34 +01:00
jimt
362b0784bb Merge pull request #20 from taichi/use_to_slash
Use / in the name of the asset.
2014-02-28 19:34:45 +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
1c1928d3b6 Amends README with a note on how to access generated asset data. 2014-01-29 12:43:10 +01:00
Jim Teeuwen
e87a807885 Avoid expensive fmt.Fprintf calls in StringWriter.Write inner loop.
This addresses issue 14.
2014-01-29 11:34:37 +01:00
Jim Teeuwen
ae22b84b7e Imlpement buffered output writer for increased performance.
This addresses issue 14.
2014-01-29 11:28:32 +01:00
Jim Teeuwen
436fd0c250 Fixes a typo in the README. 2014-01-29 02:05:30 +01:00
Jim Teeuwen
7d4f92315c Amends README with a small installation note. 2014-01-29 02:03:55 +01:00
Jim Teeuwen
f628643380 Merge branch 'batchconvert'
Conflicts:
	lib/toc.go
	lib/translate.go
	main.go
2014-01-29 01:44:38 +01:00
Jim Teeuwen
658f2bddf4 Runs go fmt. 2014-01-29 01:38:29 +01:00
Jim Teeuwen
bb0b560542 Fixes bytewriter to format output. 2014-01-29 01:37:15 +01:00
Jim Teeuwen
20077324b7 Removes debug print output. 2014-01-28 23:32:50 +01:00
jimt
4bf44a02f1 Merge pull request #16 from pblaszczyk/exit_code
In case of error, exit status should be different than 0.
2014-01-07 09:40:16 -08:00
Paweł Błaszczyk
85c2b05609 In case of error, exit status should be different than 0. 2014-01-07 17:41:09 +01:00
jimt
37aa0dc02e Merge pull request #15 from pblaszczyk/fix
Fix for handling prefix value and output not formatted according to go fmt.
2014-01-03 12:11:32 -08:00
Paweł Błaszczyk
28919a6a56 Output files are not formatted in accordance with go fmt. 2014-01-03 19:45:37 +01:00
Paweł Błaszczyk
7bd7bcfcdf Fix for ignored trailing path separator in prefix. 2014-01-03 18:46:33 +01:00
Jim Teeuwen
b903585359 Revises README to reflect changes to command line API. 2013-11-16 12:20:14 +01:00
Jim Teeuwen
4674192d6b Implement supp-ort for multiple input paths in command line tool. 2013-11-16 12:19:19 +01:00