Open frrist opened 6 years ago
This is likely a bug in gx
or go-gx
, but I hit the issue when running gw-workspace
Ah yeah, example
and muxtest
are separate packages...
Is there a way we can avoid testing them then?
uhm... not built into gx-workspace. What we could do though is add a 'testing command' override to the package.json. And if its set, gx test will run that.
For example, the package
github.com/libp2p/go-peerstream
has 3package.json
files:github.com/libp2p/go-peerstream/package.json
github.com/libp2p/go-peerstream/example/package.json
github.com/libp2p/go-peerstream/muxtest/package.json
When running
gx install
only the packages ingithub.com/libp2p/go-peerstream/package.json
are fetched, which can lead to missing dependencies ifpackage.json
muxtest/package.json
andexample/package.json
are different.