Skip to content

Commit

Permalink
Move the lib directory to another repository.
Browse files Browse the repository at this point in the history
This is now a git submodule.

I also moved lib from the root of the project into the src directory.
This didn't have to happen at the same time.
I'd been planning to make that change, and now seemed like a good time.
  • Loading branch information
TradeIdeasPhilip committed Apr 21, 2022
1 parent 27fd23f commit fd4ed77
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 268 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/lib"]
path = src/lib
url = https://github.com/TradeIdeasPhilip/lib
95 changes: 0 additions & 95 deletions lib/client-misc.ts

This file was deleted.

171 changes: 0 additions & 171 deletions lib/misc.ts

This file was deleted.

1 change: 1 addition & 0 deletions src/lib
Submodule lib added at 0a0416
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import gentilisRegular from "three/examples/fonts/gentilis_regular.typeface.json
import helvetikerBold from "three/examples/fonts/helvetiker_bold.typeface.json?url";
import helvetikerRegular from "three/examples/fonts/helvetiker_regular.typeface.json?url";

import { getById } from "../lib/client-misc";
import { FIGURE_SPACE, pick } from "../lib/misc";
import { getById } from "./lib/client-misc";
import { FIGURE_SPACE, pick } from "./lib/misc";

// Source: https://methodshop.com/batman-fight-words/
import batmanFightWords from "./batman-fight-words.json";
Expand Down

0 comments on commit fd4ed77

Please sign in to comment.