Skip to content

Commit

Permalink
Improved gitignore ++
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hansen committed Sep 25, 2021
1 parent fde80e6 commit 2804b59
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,3 @@ frontend/dist/**

backend/files/misc/bazar/apps/*.zip
backend/files/misc/bazar/published.hl

backend/files/etc/**
!backend/files/etc/mssql/**
!backend/files/etc/mysql/**
!backend/files/etc/snippets/**
!backend/files/etc/system/**
2 changes: 2 additions & 0 deletions backend/files/etc/babelmail/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*/**
!.gitignore
2 changes: 2 additions & 0 deletions backend/files/etc/bonacci/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*/**
!.gitignore
15 changes: 15 additions & 0 deletions backend/files/etc/snippets/count-loc.hl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

/*
* Script counting lines of code in specified folder.
*/
.folder:/modules/system/
unwrap:x:+/*
signal:magic.io.file.load-recursively
.:x:@.folder
.no:int:0
for-each:x:@signal/*
strings.split:x:@.dp/#/0
.:"\n"
math.increment:x:@.no
get-count:x:@strings.split/*
remove-nodes:x:@signal/*

0 comments on commit 2804b59

Please sign in to comment.