Commit Graph

23 Commits (7816a8a362033b1e6bd17ec64efeb491f104acfd)

Author SHA1 Message Date
Noah 7816a8a362 Update package paths and README 2018-10-05 08:30:57 -07:00
Tobias Schmidt 8ed2cd0f6d Fix go format of generated code
The following changes make the generated code go fmt compatible.
2015-10-23 03:48:06 -04: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
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 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 fff92e7dec Incorporate go-nyet 2015-05-11 09:48:50 -04: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
Ryosuke IWANAGA fc595e391e Update testdata/out 2014-12-09 14:41:25 +09:00
Jim Teeuwen c385518c06 Performs some minor cleanup.
Adds testdata output for a debug build.
Fixes README to reflect new features and behaviour.
2013-10-30 15:24:59 +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 efd0c57cfd Fixes some minor translation issues. 2013-10-30 11:42:09 +01:00
Jim Teeuwen 7125d6f515 Adds an extra testdata file to ensure that there are no
name collisions in the generated code, when it comes to
multiple assets with the same file name.

This should all receive unique entries, using their
directory paths to set them apart.
2013-10-30 02:19:24 +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