Migrate to makefile

This commit is contained in:
Adam Stankiewicz
2020-08-24 11:52:33 +02:00
parent b2055afaa7
commit 55ad5a982a
2 changed files with 12 additions and 4 deletions

7
Makefile Normal file
View File

@@ -0,0 +1,7 @@
.PHONY: all
all:
@ scripts/build
test:
@ scripts/test

View File

@@ -203,26 +203,27 @@ If you need full functionality of any plugin, please use it directly with your p
## Updating ## Updating
You can either wait for new patch release with updates or run the `scripts/build` script by yourself. You can either wait for new patch release with updates or run `make` by yourself.
## Troubleshooting ## Troubleshooting
Please make sure you have `syntax on` in your `.vimrc`, otherwise syntax files are not loaded at all. Please make sure you have `syntax on` in your `.vimrc` (or use something like [sheerun/vimrc](https://github.com/sheerun/vimrc))
Individual language packs can be disabled by setting `g:polyglot_disabled` as follows: Individual language packs can be disabled by setting `g:polyglot_disabled` as follows:
```viml ```viml
" ~/.vimrc, declare this variable before polyglot is loaded
let g:polyglot_disabled = ['css'] let g:polyglot_disabled = ['css']
``` ```
*Please declare this variable before polyglot is loaded (at the top of .vimrc)*
Please note that disabling a language won't make in your vim startup any faster / slower (only for specific this specific filetype). All plugins are loaded lazily, on demand. Please note that disabling a language won't make in your vim startup any faster / slower (only for specific this specific filetype). All plugins are loaded lazily, on demand.
## Contributing ## Contributing
Language packs are periodically updated using automated `scripts/build` script. Language packs are periodically updated using automated `scripts/build` script.
Feel free to add your language to `packages.yaml`, and send pull-request. Please don't run `scripts/build` and include that in your PR, send just changes to `packages.yaml` and `build` script if really necessary. You can run `scripts/test` to run rough tests. Feel free to add your language to `packages.yaml`, and send pull-request. Please don't run `make` and include that in your PR, send just changes to `packages.yaml` and build scripts if really necessary. You can run `make test` to run rough tests.
## License ## License