These are chat archives for pixijs/pixi.js

7th
Jan 2016
Bar Ziony
@bartzy
Jan 07 2016 15:19
I have a question for @englercj :) Or anyone that contributes to pixi.js.
How do you test your code? I don't mean official tests, more like examples to see that your code works.
I mean, without an example that renders something, it's hard to know if what you did works. And, without example code in-repo , how do you link your development-code (not yet published) with another "test project" that consumes your pixi.js code?
I'm asking because I didn't see any example code in the pixi.js repo, so I was interested in your dev workflow for pixi.
npm is the dev workflow
Bar Ziony
@bartzy
Jan 07 2016 15:45
So you update a line on your pixi.js repo, then how do you pull it to your examples repo?
Chad Engler
@englercj
Jan 07 2016 15:46
npm link
Bar Ziony
@bartzy
Jan 07 2016 15:47
ok
so just so I understand, you have a watch on the pixi.js code, you work on it, it builds, then your example code automatically "sees" the latest bin/pixi.js file from your pixi.js repo?
Bar Ziony
@bartzy
Jan 07 2016 16:16
@englercj ? :)
Chad Engler
@englercj
Jan 07 2016 16:16
pretty much
Bar Ziony
@bartzy
Jan 07 2016 16:19
And do you build pixi.js from the example repo, or just use its built file?
Chad Engler
@englercj
Jan 07 2016 16:19
use the built file
the example aren't built