Small fixes + WTFPLv2

This commit is contained in:
Anthony Axenov 2022-07-04 23:53:39 +08:00
parent 4677b84a29
commit 82559869fc
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
4 changed files with 27 additions and 4 deletions

13
LICENSE Normal file
View File

@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2022 Антон Аксенов <anthonyaxenov@gmail.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

View File

@ -1,4 +1,4 @@
# Autogenerated at 04.07.2022 23:25 using ./gen-makefile.sh # Autogenerated at 04.07.2022 23:52 using ./gen-makefile.sh
##lamp: Apache + php + mariadb ##lamp: Apache + php + mariadb
lamp: apache php mariadb lamp: apache php mariadb

View File

@ -76,7 +76,13 @@ where:
* `mypack*` is the pack name * `mypack*` is the pack name
* `goal*` are script names in `./install` * `goal*` are script names in `./install`
## Testing in docker ## Testing in docker (not recommended)
> Note that this is almost useless way to test since you'll meet errors in many cases because dockerized OS is not fully-functional and will never be.
>
> You can use docker to test something **really simple**, e.g. to check general script steps or install cli tools.
>
> In other cases you need virtualized Ubuntu instead of dockerized one, so I strongly recommend you to use [VirtualBox](https://www.virtualbox.org/wiki/Downloads) or your host machine.
```shell ```shell
# switch to repo dir # switch to repo dir
@ -85,8 +91,12 @@ cd my-env
# build and run container # build and run container
docker build -t myenv . && docker run -it myenv docker build -t myenv . && docker run -it myenv
# oneliner # or oneliner
docker run -it $(docker build -q .) docker run -it $(docker build -q .)
``` ```
Now you can play around with scripts. Now you can play around with scripts.
## License
[WTFPLv2](LICENSE)

View File

@ -21,7 +21,7 @@ help: Makefile
@echo "Usage:" @echo "Usage:"
@echo "\tmake <goal>\n" @echo "\tmake <goal>\n"
@echo "Available goals:" @echo "Available goals:"
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e "s/^/\t/" @sed -n 's/^##//p' \$< | column -t -s ':' | sed -e "s/^/\t/"
##<goal>_: Same as 'cat ./install/<goal>' ##<goal>_: Same as 'cat ./install/<goal>'
%_: %_: