diff --git a/README.mde b/README.mde deleted file mode 100644 index 79583de..0000000 --- a/README.mde +++ /dev/null @@ -1,70 +0,0 @@ -# Daikon - -![Daikon](./logo.svg) - -Daikon is a simple and minimal framework for creating web applications in Kotlin with minimal effort. -The main goals are: -* Use a framework easy to test -* Build a simple web application in less then 5 minutes -* Can run multiple instances of HTTP server at the same time -* Deploy application in container, with server start time less than 100ms - -## How to add Daikon to your project -[![](https://jitpack.io/v/daikonweb/daikon.svg)](https://jitpack.io/#daikonweb/daikon) - -### Gradle -- Add JitPack in your root build.gradle at the end of repositories: -``` -repositories { - ... - maven { url 'https://jitpack.io' } -} -``` - -- Add the dependency -``` -implementation 'com.github.DaikonWeb:daikon:' -``` - -### Maven -- Add the JitPack repository to your build file -``` - - - jitpack.io - https://jitpack.io - - -``` -- Add the dependency -``` - - com.github.DaikonWeb - daikon - 1.1.7 - -``` - -## Getting Started -``` -HttpServer() - .get("/foo") { _, res -> res.write("Hello foo") } - .post("/bar") { _, res -> res.write("Bye bar") } - .start().use { - assertThat(get("/foo").text).isEqualTo("Hello foo") - assertThat(post("/bar").text).isEqualTo("Bye bar") - } -``` - -## Resources -* Documentation: https://daikonweb.github.io -* Examples: https://github.com/DaikonWeb/daikon-examples - -## Authors - -* **[Marco Fracassi](https://github.com/fracassi-marco)** -* **[Alessio Coser](https://github.com/AlessioCoser)** - -## License - -This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details diff --git a/scripts/sync_versions.sh b/scripts/sync_versions.sh new file mode 100755 index 0000000..36d2d03 --- /dev/null +++ b/scripts/sync_versions.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env sh +TAG=$1 +DAIKON_ROOT="$(dirname $0)/.." +SCRIPT_NAME="publish.sh" + +exclude_main_daikon() { + cat - | grep -v "./daikon/" +} + +extensions_scripts_folders() { + find ${DAIKON_ROOT}/.. -name "${SCRIPT_NAME}" | exclude_main_daikon | sed "s/${SCRIPT_NAME}$//" +} + +for folder in $(extensions_scripts_folders) +do + ( + cd ${folder} + echo "deploy: $(pwd)" +# git stash +# git pull --rebase +# ./${SCRIPT_NAME} ${TAG} +# git stash pop + ) +done \ No newline at end of file