Unverified Commit bc815204 authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

fix cli version (#1034)

parent 34520b1b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -13,6 +13,13 @@ plugins { id("software.amazon.smithy").version("0.5.3") }

val smithyVersion: String by project

buildscript {
    val smithyVersion: String by project
    dependencies {
        classpath("software.amazon.smithy:smithy-cli:$smithyVersion")
    }
}

dependencies {
    implementation(project(":codegen-server"))
    implementation("software.amazon.smithy:smithy-aws-protocol-tests:$smithyVersion")
+10 −3
Original line number Diff line number Diff line
@@ -14,6 +14,12 @@ plugins {

val smithyVersion: String by project

buildscript {
    val smithyVersion: String by project
    dependencies {
        classpath("software.amazon.smithy:smithy-cli:$smithyVersion")
    }
}

dependencies {
    implementation(project(":codegen"))
@@ -62,13 +68,15 @@ val CodegenTests = listOf(
    ),
    CodegenTest(
        "crate#Config",
        "naming_test_ops", """
        "naming_test_ops",
        """
            , "codegen": { "renameErrors": false }
        """.trimIndent()
    ),
    CodegenTest(
        "naming_obs_structs#NamingObstacleCourseStructs",
        "naming_test_structs", """
        "naming_test_structs",
        """
            , "codegen": { "renameErrors": false }
        """.trimIndent()
    )
@@ -127,7 +135,6 @@ task("generateCargoWorkspace") {
tasks["smithyBuildJar"].dependsOn("generateSmithyBuild")
tasks["assemble"].finalizedBy("generateCargoWorkspace")


tasks.register<Exec>("cargoCheck") {
    workingDir("build/smithyprojections/codegen-test/")
    // disallow warnings