Begin working on a symlink script to make intellisense better
This commit is contained in:
parent
cb266b3c1e
commit
65cc95c35c
6 changed files with 31 additions and 170 deletions
10
scripts/linkFoundry.mjs
Normal file
10
scripts/linkFoundry.mjs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { config } from "dotenv";
|
||||
config();
|
||||
|
||||
console.log(process.env)
|
||||
const root = process.env.FOUNDRY_ROOT;
|
||||
|
||||
// Early exit
|
||||
if (!root) { process.exit(1) };
|
||||
|
||||
// Assert root exists
|
||||
Loading…
Add table
Add a link
Reference in a new issue