Reorganize `src/` directory (#87)

Test Plan:
Note that tests still pass, and all changes to snapshot files are
verbatim moves.

wchargin-branch: reorg
This commit is contained in:
William Chargin 2018-03-19 14:31:50 -07:00 committed by Dandelion Mané
parent 30600004e4
commit ca85fdf234
18 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@ module.exports = {
// point within the build directory.
backendEntryPoints: {
fetchAndPrintGitHubRepo: resolveApp(
"src/backend/bin/fetchAndPrintGitHubRepo.js"
"src/plugins/github/bin/fetchAndPrintGitHubRepo.js"
),
},
};

View File

@ -19,7 +19,7 @@ main() {
>"${output}" \
;
diff -uw \
src/backend/githubDemoData/example-repo.json \
src/plugins/github/demoData/example-repo.json \
"${output}" \
;
rm "${output}"

View File

@ -1,8 +1,8 @@
// @flow
import type {Node, Edge} from "./graph";
import type {Address} from "./address";
import {Graph} from "./graph";
import type {Node, Edge} from "../../core/graph";
import type {Address} from "../../core/address";
import {Graph} from "../../core/graph";
const stringify = require("json-stable-stringify");
export const GITHUB_PLUGIN_NAME = "sourcecred/github-beta";

View File

@ -1,7 +1,7 @@
// @flow
import {GithubParser, getNodeType, getEdgeType} from "./githubPlugin";
import exampleRepoData from "./githubDemoData/example-repo.json";
import exampleRepoData from "./demoData/example-repo.json";
describe("GithubParser", () => {
describe("whole repo parsing", () => {