1
0

2 Angajamente 096aefd339 ... 47f06bd465

Autor SHA1 Permisiunea de a trimite mesaje. Dacă este dezactivată, utilizatorul nu va putea trimite nici un fel de mesaj Data
  Vadik Sirekanyan 47f06bd465 Init 10 luni în urmă
  Vadik Sirekanyan 096aefd339 Init 10 luni în urmă
2 a modificat fișierele cu 21 adăugiri și 1 ștergeri
  1. 3 1
      README.md
  2. 18 0
      build.gradle.kts

+ 3 - 1
README.md

@@ -1,6 +1,8 @@
+```bash
 Usage: todo [<options>] [<entry>]...
 
 Options:
-  -d, --delete=<ℕ>  Delete ℕ-th entry
+  -d, --delete=<N>  Delete N-th entry
   -h, --history     Show deleted entries
   --help            Show this message and exit
+```

+ 18 - 0
build.gradle.kts

@@ -5,6 +5,7 @@ plugins {
     kotlin("multiplatform") version kotlinVersion
     kotlin("plugin.serialization") version kotlinVersion
     id("org.sirekanyan.version-checker") version "1.0.14"
+    distribution
 }
 
 group = "org.sirekanyan"
@@ -30,3 +31,20 @@ kotlin {
         executable(listOf(if (hasProperty("release")) RELEASE else DEBUG))
     }
 }
+
+distributions {
+    main {
+        contents {
+            from("build/bin/linux/releaseExecutable/todo.kexe") {
+                rename { it.removeSuffix(".kexe") }
+            }
+        }
+    }
+}
+
+tasks {
+    getByName<Tar>("distTar") {
+        compression = Compression.GZIP
+        archiveExtension = ".tar.gz"
+    }
+}