Skip to content

Commit

Permalink
Adds initial code and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kimpepper committed Nov 20, 2016
1 parent 069c702 commit c100ca0
Show file tree
Hide file tree
Showing 14 changed files with 2,169 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This is the top-most .editorconfig file; do not search in parent directories.
root = true

# All files.
[*]
end_of_line = LF
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[Makefile]
indent_style = tab

[composer.json]
indent_size = 4
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/bin/
/vendor/
*.sqlite
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/make -f

init:
composer install --prefer-dist --no-progress

test:
bin/phpunit

.PHONY: init test
32 changes: 32 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "pnx/tree",
"description": "A library for working with tree implementations.",
"type": "library",
"license": "GPL-2.0+",
"authors": [
{
"name": "Kim Pepper",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"require": {
"doctrine/dbal": "~2.5"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
},
"autoload": {
"psr-4": {
"PNX\\Tree\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"PNX\\Tree\\Tests\\": "tests"
}
},
"config": {
"bin-dir": "bin/"
}
}
Loading

0 comments on commit c100ca0

Please sign in to comment.