mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
Merge pull request #164 from cloudflare/ignore-bindata
Remove bindata_assetfs.go from git
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,3 +5,4 @@ assets/static/dist
|
||||
node_modules
|
||||
.coverage
|
||||
.tests
|
||||
bindata_assetfs.go
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user