An IndieWeb engine for a self-hostable website. https://koype.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.lvimrc 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. " File: .lvimrc
  2. " Author: Jacky Alcine <yo@jacky.wtf>
  3. " Description: Tweaks to get testing in Vim going nicely.
  4. " Last Modified: 2018-09-25 12:08:05 PDT
  5. if exists(':DirenvExport')
  6. DirenvExport
  7. endif
  8. let s:command_prefix = 'docker-compose run ' .
  9. \ '-e CANONICAL_URL="http://koype_vim_test:50505" '.
  10. \ '-e MIX_ENV="test" ' .
  11. \ '-e PORT=50505 ' .
  12. \ '-e DOC=1 ' .
  13. \ '-e OBJECT_STORAGE_BUCKET="koype-test" '.
  14. \ '-e TEST_HOST="http://koype_vim_test" ' .
  15. \ '-e TEST_PORT=50505 ' .
  16. \ '--name="koype_vim_test" '.
  17. \ '--use-aliases ' .
  18. \ '--no-deps ' .
  19. \ '--rm ' .
  20. \ 'site'
  21. function! DockerComposeTransform(cmd) abort
  22. return s:command_prefix . ' ' . a:cmd
  23. endfunction
  24. let g:test#custom_transformations = {'docker-compose': function('DockerComposeTransform')}
  25. let g:alchemist_compile_basepath = '/opt/koype'
  26. let g:test#transformation = 'docker-compose'
  27. let g:test#elixir#exunit#options = {
  28. \ 'file': '--slowest=3',
  29. \ 'suite': '--slowest 10 --include acceptance:true',
  30. \ 'nearest': '--include skip:true --include acceptance:true'
  31. \ }