apex / up-examples

Example apps, apis, and sites for Up.
389 stars 42 forks source link

find broken on Archlinux #65

Closed kaihendry closed 6 years ago

kaihendry commented 6 years ago

(Prompted by https://github.com/tj/hooks's make test ) I think you meant maxdepth?

-for plan in $(find . -type d -depth 1 | grep -v .git); do
+for plan in $(find . -maxdepth 1 -type d | grep -v .git); do
-  for dir in $(find $plan -type d -depth 1); do
+  for dir in $(find $plan -maxdepth 1 -type d); do

Btw how do I run the tests? When I tried I hit:

Error: initializing: reading config: open up.json: no such file or directory

Do I need to setup some base config?

tj commented 6 years ago

hmm yeah might just have different flags on other systems, but it basically just runs go run test.go -dir oss/node-basic etc through each one