grml.yaml 754 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. env:
  2. project: xs
  3. version: 0.8.0
  4. buildDir: build/
  5. docDir: doc/
  6. releaseDir: ${project}-${version}/
  7. options:
  8. debug: false
  9. breakfast:
  10. - sausage & spam
  11. - spam, egg, sausage & spam
  12. - spam, spam, beans, spam & spam
  13. commands:
  14. release:
  15. help: do full rebuild, docgen and store artifacts in ${releaseDir}
  16. deps:
  17. - vis
  18. - app
  19. exec: |
  20. echo "TODO: cp binary and docs to ${releaseDir}"
  21. install:
  22. help: install binaries (root)
  23. deps:
  24. - app
  25. as-root: true
  26. exec: |
  27. make reinstall
  28. vis:
  29. help: generate graphviz (via go-callvis)
  30. deps:
  31. - app
  32. exec: |
  33. make vis
  34. app:
  35. aliases: [ build ]
  36. help: build the xs tools
  37. exec: |
  38. make clean
  39. make all