From 40027c014266ab1cad2d933c0b7defc56b3eefde Mon Sep 17 00:00:00 2001 From: Florian Schrofner Date: Sat, 28 Jan 2023 22:18:21 +0100 Subject: [PATCH] add license and root folder readme --- LICENSE | 24 ++++++++++++++++++++++++ enterprise-release-publisher/erp.clj | 2 +- readme.md | 14 ++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 LICENSE create mode 100644 readme.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..00d2e13 --- /dev/null +++ b/LICENSE @@ -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 \ No newline at end of file diff --git a/enterprise-release-publisher/erp.clj b/enterprise-release-publisher/erp.clj index bb3565c..c8158e1 100755 --- a/enterprise-release-publisher/erp.clj +++ b/enterprise-release-publisher/erp.clj @@ -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) diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..248e300 --- /dev/null +++ b/readme.md @@ -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.