Ryosuke IWANAGA
0267f6e673
Add RestoreAsset/RestoreAssets methods
2014-12-08 23:02:06 +09:00
Ryosuke IWANAGA
5dec5f37be
Adjust release mode for AssetInfo()
2014-12-08 07:35:15 +09: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
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
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
Alan Shreve
8e87ecda2a
return errors from calls to Asset() instead of ever panicking
2013-11-08 21:28:49 +02: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
efd0c57cfd
Fixes some minor translation issues.
2013-10-30 11:42:09 +01:00
Jim Teeuwen
ae16b2b3c6
Finishes imlpementing the various debug and release output
...
modes. For debug we always read assets from disk and ignore
the compression and memcopy options. For release mode, the
assets are all embedded and the compression/memcopy options
are taken into account.
2013-10-30 02:16:14 +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