-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
alike .gitignore file there should be a .torusignore file. This file should be generated when the project is initialized. Every command must check if the project hasnt been initialized and initialize it automatically.
to parse the torus ignore use the following:
var gitignore = fs.readFileSync('.torusignore', 'utf8')
var ignorePaths = {}
for(let path of gitignore.split('\n')) if(path.trim().length > 1) ignorePaths[path.trim()] = true
by default include in torusignore:
.env
node_modules
.git
package.json
package-lock.json
LICENSE
.torusignore
.gitignore
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels