Skip to content

Commit

Permalink
added project support files
Browse files Browse the repository at this point in the history
  • Loading branch information
jjuliano committed Aug 7, 2024
1 parent 4814b3b commit a805e3b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
# don't trim whitespace within (say) a Pkl multiline string
trim_trailing_whitespace = false
insert_final_newline = true
max_line_length = 100
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*.pkl linguist-language=Pkl
PklProject linguist-language=Pkl

* text eol=lf
*.bat text eol=crlf

*.gif binary
*.jar binary
*.woff2 binary
*.pem binary
*.png binary
7 changes: 7 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

files=`git diff --name-status`

if [[ $files =~ deps/ ]]; then
make && git add pkg
fi

0 comments on commit a805e3b

Please sign in to comment.