Merge pull request #164 from cloudflare/ignore-bindata

Remove bindata_assetfs.go from git
This commit is contained in:
Łukasz Mierzwa
2017-08-08 14:00:05 -07:00
committed by GitHub
3 changed files with 1 additions and 793 deletions

1
.gitignore vendored
View File

@@ -5,3 +5,4 @@ assets/static/dist
node_modules
.coverage
.tests
bindata_assetfs.go

View File

@@ -47,16 +47,6 @@ JS modules are written using [CommonJS](http://www.commonjs.org/specs/modules/1.
syntax. Webpack will use [babel](https://babeljs.io/) to transform JS code to
[ES2015](https://babeljs.io/docs/plugins/preset-es2015/).
Once assets dir is modified please run:
make bindata_assetfs.go
This will rebuild [https://github.com/elazarl/go-bindata-assetfs](binary assets)
file. Be sure to include it in the commit.
Same applies to HTML template files, please rebuild bindata_assetfs.go before
commit. Note that Makefile targets are setup to run it automatically if changes
are detected, so it's usually not needed for development.
During development you can set `NODE_ENV=test` before running any make targets,
this will prevent webpack from using expensive optimizations only needed when
generating production assets.

File diff suppressed because one or more lines are too long