-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: move from slatekit to kiit cli (#333)
- Loading branch information
1 parent
63491ad
commit dd9271e
Showing
85 changed files
with
123 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
#!/bin/bash | ||
|
||
# Initialize variables | ||
SLATEKIT_ROOT=/Users/kishorereddy/git/slatekit | ||
SLATEKIT_HOME=${SLATEKIT_ROOT}/slatekit | ||
SLATEKIT_DIST=${SLATEKIT_HOME}/src/lib/kotlin/slatekit/build/distributions | ||
SLATEKIT_REL=${SLATEKIT_HOME}/src/lib/kotlin/slatekit/build/distributions/slatekit | ||
SLATEKIT_CLI=${SLATEKIT_ROOT}/slatekit-cli | ||
KIIT_ROOT=/Users/kishorereddy/git/slatekit | ||
KIIT_HOME=${KIIT_ROOT}/slatekit | ||
KIIT_DIST=${KIIT_HOME}/src/lib/kotlin/kiit/build/distributions | ||
KIIT_REL=${KIIT_HOME}/src/lib/kotlin/kiit/build/distributions/kiit | ||
KIIT_CLI=${KIIT_ROOT}/kiit-cli | ||
|
||
# Unzip | ||
#cd $SLATEKIT_DIST | ||
#unzip ${SLATEKIT_DIST}/slatekit.zip | ||
#cd $KIIT_DIST | ||
#unzip ${KIIT_DIST}/slatekit.zip | ||
|
||
# Copy bin/lib/templates | ||
cp $SLATEKIT_REL/bin/slatekit $SLATEKIT_CLI/slatekit | ||
cp $SLATEKIT_REL/bin/slatekit.bat $SLATEKIT_CLI/slatekit.bat | ||
cp -R $SLATEKIT_REL/lib $SLATEKIT_CLI/ | ||
cp $SLATEKIT_HOME/src/lib/kotlin/slatekit/src/main/resources/*.conf $SLATEKIT_CLI/conf/ | ||
cp -R $SLATEKIT_HOME/src/lib/kotlin/slatekit/src/main/resources/templates $SLATEKIT_CLI/ | ||
cp $KIIT_REL/bin/kiit $KIIT_CLI/kiit | ||
cp $KIIT_REL/bin/kiit.bat $KIIT_CLI/kiit.bat | ||
cp -R $KIIT_REL/lib $KIIT_CLI/ | ||
cp $KIIT_HOME/src/lib/kotlin/kiit/src/main/resources/*.conf $KIIT_CLI/conf/ | ||
cp -R $KIIT_HOME/src/lib/kotlin/kiit/src/main/resources/templates $KIIT_CLI/ | ||
|
||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/lib/kotlin/slatekit/settings.gradle → src/lib/kotlin/kiit/settings.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
.../main/kotlin/slatekit/SlateKitServices.kt → ...kiit/src/main/kotlin/kiit/KiitServices.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...atekit/src/main/kotlin/slatekit/Server.kt → ...otlin/kiit/src/main/kotlin/kiit/Server.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package slatekit | ||
package kiit | ||
|
||
// Ktor | ||
import io.ktor.application.ApplicationCall | ||
|
2 changes: 1 addition & 1 deletion
2
...ekit/src/main/kotlin/slatekit/docs/Doc.kt → ...lin/kiit/src/main/kotlin/kiit/docs/Doc.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package slatekit.docs | ||
package kiit.docs | ||
|
||
data class Doc( | ||
val name: String, | ||
|
2 changes: 1 addition & 1 deletion
2
...t/src/main/kotlin/slatekit/docs/DocApi.kt → .../kiit/src/main/kotlin/kiit/docs/DocApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package slatekit.docs | ||
package kiit.docs | ||
|
||
import slatekit.apis.Api | ||
import slatekit.apis.Action | ||
|
2 changes: 1 addition & 1 deletion
2
...main/kotlin/slatekit/docs/DocConstants.kt → ...src/main/kotlin/kiit/docs/DocConstants.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package slatekit.docs | ||
package kiit.docs | ||
|
||
object DocConstants { | ||
val header = "doc:header" | ||
|
2 changes: 1 addition & 1 deletion
2
...src/main/kotlin/slatekit/docs/DocFiles.kt → ...iit/src/main/kotlin/kiit/docs/DocFiles.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package slatekit.docs | ||
package kiit.docs | ||
|
||
import java.io.File | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...c/main/kotlin/slatekit/docs/DocService.kt → ...t/src/main/kotlin/kiit/docs/DocService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package slatekit.docs | ||
package kiit.docs | ||
|
||
import slatekit.common.* | ||
import slatekit.utils.writer.ConsoleWriter | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,24 +12,24 @@ env = loc | |
# qa = env.qa1.conf ( qa testing ) | ||
# loc = env.loc.conf ( local dev ) | ||
# pro = env.pro.conf ( production ) | ||
app.id = slatekit.tools | ||
app.company = SlateKit | ||
app.id = kiit.tools | ||
app.company = kiit | ||
app.area = tools | ||
app.name = cli | ||
app.desc = Tools app for various setup actions | ||
app.region = ny | ||
app.version = 1.1.0 | ||
app.url = http://sampleapp.slatekit.com | ||
app.dir = slatekit | ||
app.dir = kiit | ||
app.group = Samples | ||
app.contact = [email protected] | ||
app.tags = slate,shell,cli | ||
app.examples = sampleapp -env=dev -log.level=debug -region='ny' -enc=false | ||
|
||
slatekit.tag = "v2" | ||
slatekit.version = 2.8.0 | ||
slatekit.version.beta = 2.8.0 | ||
slatekit.version.cli = 2.8.0 | ||
kiit.tag = "v2" | ||
kiit.version = 2.8.0 | ||
kiit.version.beta = 2.8.0 | ||
kiit.version.cli = 2.8.0 | ||
kotlin.version = 1.6.20 | ||
generation.source = usr://slatekit/generator/templates | ||
generation.output = usr://slatekit/generator/gen | ||
|
@@ -55,7 +55,7 @@ log.level = info | |
|
||
# DB Settings | ||
db = true | ||
db.location = user://.slatekit/conf/db.conf | ||
db.location = user://.kiit/conf/db.conf | ||
|
||
|
||
# All the ApiLogin files should be setup as property files like below | ||
|
@@ -68,18 +68,18 @@ db.location = user://.slatekit/conf/db.conf | |
|
||
email = true | ||
email.location = user://.slatekit/conf/email.conf | ||
email.location = user://.kiit/conf/email.conf | ||
|
||
|
||
# Sms | ||
sms = true | ||
sms.location = user://.slatekit/conf/sms.conf | ||
sms.location = user://.kiit/conf/sms.conf | ||
|
||
# File | ||
files = false | ||
files.location = user://.slatekit/conf/files.conf | ||
files.location = user://.kiit/conf/files.conf | ||
|
||
|
||
queues = false | ||
queues.location = user://.slatekit/conf/queues.conf | ||
queues.location = user://.kiit/conf/queues.conf |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...resources/templates/company1/package.json → ...resources/templates/company1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...es/templates/slatekit/app/files/build.txt → ...ources/templates/kiit/app/files/build.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...es/templates/slatekit/cli/files/build.txt → ...ources/templates/kiit/cli/files/build.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
src/lib/kotlin/kiit/src/main/resources/templates/kiit/common/files/gradle.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
kotlin.code.style=official |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...es/templates/slatekit/job/files/build.txt → ...ources/templates/kiit/job/files/build.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...es/templates/slatekit/sql/files/build.txt → ...ources/templates/kiit/sql/files/build.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.