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.

29 lines
803 B

  1. # Quick scripts
  2. Create `quick` dir in your root project folder.
  3. Place `.gitignore` file in that dir with these content:
  4. ```
  5. *.sh
  6. ```
  7. Copy needed helper scripts in that `quick/` dir and create copies with `.example` extension for adding example-scripts to your project GIT.
  8. You might need add worked execute script for create executable copies from examples.
  9. Add `nerest-quick.sh` to you root project dir:
  10. ```shell
  11. #!/bin/bash
  12. QUICK_DIR=quick
  13. cd $QUICK_DIR &&
  14. find ./ -name "*.sh.example" -exec sh -c 'F={}; cp -u $F ${F%.example} && chmod +x ${F%.example}' \;
  15. ```
  16. ## Ignore and nerest examples scripts
  17. Use `ignore.sh` for adding special `.gitignore` files into ignored dirs (uploads, plugins)
  18. Use `nerest-examples.sh` for one time creating *.sh.example files for adding to the git repository