Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Interface for files.add #26

Merged
merged 3 commits into from
Jun 5, 2016
Merged

Interface for files.add #26

merged 3 commits into from
Jun 5, 2016

Conversation

daviddias
Copy link
Contributor

Builds on top of #20

Adds

  • Fix aegir setup (rename test->src so that it is buildable
  • Stop using require(raw! (the right module was not being loaded, broke all browser tests, we don't need it anyway)
  • Stop requiring fs on demand per test, breaks webpack too

Also replaces the old javascript test data with Project Gutenberg prose.
Also returns object wrapping path+node on ipfs.files.add.
@daviddias daviddias changed the title Add Interface for files.add Jun 5, 2016
@@ -2,8 +2,8 @@
"name": "interface-ipfs-core",
"version": "0.1.5",
"description": "A test suite and interface you can use to implement a IPFS core interface.",
"main": "test/index.js",
"jsnext:main": "test/index.js",
"main": "lib/index.js",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't exist?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hackergrrl
Copy link
Contributor

Thanks for taking this the last mile, @diasdavid.

🐴 LGTM, other than my one comment.

…or fs, stop requiring fs inside functions (breaks webpack)
@daviddias daviddias merged commit 34f3658 into master Jun 5, 2016
@daviddias daviddias deleted the add branch June 5, 2016 19:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants