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