add license and root folder readme

master
Florian Schrofner 2023-01-28 22:18:21 +01:00
parent 4868599c9b
commit 40027c0142
3 changed files with 39 additions and 1 deletions

24
LICENSE Normal file
View File

@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>

View File

@ -58,7 +58,7 @@
(defn- add-git-tag [config metadata]
"creates a new git tag based on the defined format and pushes it to the remote repository"
(let [unstaged-changes (filter #(not (str/blank? %)) (str/split-lines (:out (safe-sh "git" "status" "-s" "uno"))))
(let [unstaged-changes (filter #(not (str/blank? %)) (str/split-lines (:out (safe-sh "git" "status" "-s" "-uno"))))
nr-of-changes (count unstaged-changes)]
(if (= nr-of-changes 0)
(let [tag-format (:format config)

14
readme.md Normal file
View File

@ -0,0 +1,14 @@
# Android Scripts
Welcome to my personal script collection.
This repository contains a selection of scripts which I created to make my life as Android developer a bit easier.
Whenever I feel like there's a need for it, I'll add another one.
Just take what appeals to you, I'd be happy if it helped you in some way!
## Running
All scripts are written in Clojure and require [Babashka](https://babashka.org/) to run.
Just follow the instructions for your operating system on the website. In case there's no proper way of distribution for your OS you can always just download the binary from [their releases](https://github.com/babashka/babashka/releases) and add it to your path, which is what I'm also doing.
To get info on how to actually use the individual scripts just take a look in the corresponding folder. Normally each folder should contain a readme which explains the purpose and usage of the script.
## License
These scripts are all "unlicensed", see the [LICENSE](LICENSE) file.