Commit 90fabe15 authored by Drew's avatar Drew

One True Brace Style.

What are we, animals?
parent 187a88f3
Pipeline #687 passed with stage
......@@ -48,39 +48,50 @@ A complete build.atpkg example is below.
;;For example, `atbuild run-tests` runs the `run-tests` task.
:tasks {
:atbuild {
:tool "atllbuild" ;;The tool for this task. atllbuild compiles a swift project.
;; For more information, see docs/attlbuild.md
:source ["atbuild/src/**.swift"]
:name "atbuild"
:outputType "executable"
:linkWithProduct ["attools.a" "atpkg.a"]
:dependencies ["attools" "atpkg"]
}
:atpkg {:tool "atllbuild"
:source ["atpkg/src/**.swift"]
:name "atpkg"
:outputType "static-library"}
:atbuild {
:tool "atllbuild" ;;The tool for this task. atllbuild compiles a swift project.
;; For more information, see docs/attlbuild.md
:source ["atbuild/src/**.swift"]
:name "atbuild"
:outputType "executable"
:linkWithProduct ["attools.a" "atpkg.a"]
:dependencies ["attools" "atpkg"]
}
:atpkg {
:tool "atllbuild"
:source ["atpkg/src/**.swift"]
:name "atpkg"
:outputType "static-library"
}
:attools {:tool "atllbuild"
:source ["attools/src/**.swift"]
:name "attools"
:outputType "static-library"}
:atpkg-tests {:tool "atllbuild"
:dependencies ["atpkg"]
:source ["atpkg/tests/**.swift"]
:name "atpkgtests"
:outputType "executable"
:linkWithProduct ["atpkg.a"]}
:run-atpkg-tests {:tool "shell"
:dependencies ["atpkg-tests"]
:script "./.atllbuild/products/atpkgtests"}
:run-tests {:dependencies ["run-atpkg-tests"]
:tool "nop" }}
:attools {
:tool "atllbuild"
:source ["attools/src/**.swift"]
:name "attools"
:outputType "static-library"
}
:atpkg-tests {
:tool "atllbuild"
:dependencies ["atpkg"]
:source ["atpkg/tests/**.swift"]
:name "atpkgtests"
:outputType "executable"
:linkWithProduct ["atpkg.a"]
}
:run-atpkg-tests {
:tool "shell"
:dependencies ["atpkg-tests"]
:script "./.atllbuild/products/atpkgtests"
}
:run-tests {
:dependencies ["run-atpkg-tests"]
:tool "nop"
}
}
;;These configurations "override" task configurations when activated.
;;You activate a configuration via `atbuild --name [value]`
......
......@@ -47,27 +47,37 @@
:dependencies ["attools" "atpkg"]
}
:atpkg {:tool "atllbuild"
:source ["atpkg/src/**.swift"]
:name "atpkg"
:outputType "static-library"}
:atpkg {
:tool "atllbuild"
:source ["atpkg/src/**.swift"]
:name "atpkg"
:outputType "static-library"
}
:attools {:tool "atllbuild"
:source ["attools/src/**.swift"]
:name "attools"
:outputType "static-library"}
:attools {
:tool "atllbuild"
:source ["attools/src/**.swift"]
:name "attools"
:outputType "static-library"
}
:atpkg-tests {:tool "atllbuild"
:dependencies ["atpkg"]
:source ["atpkg/tests/**.swift"]
:name "atpkgtests"
:outputType "executable"
:linkWithProduct ["atpkg.a"]}
:atpkg-tests {
:tool "atllbuild"
:dependencies ["atpkg"]
:source ["atpkg/tests/**.swift"]
:name "atpkgtests"
:outputType "executable"
:linkWithProduct ["atpkg.a"]
}
:run-atpkg-tests {:tool "shell"
:dependencies ["atpkg-tests"]
:script "./.atllbuild/products/atpkgtests"}
:run-atpkg-tests {
:tool "shell"
:dependencies ["atpkg-tests"]
:script "./.atllbuild/products/atpkgtests"
}
:run-tests {:dependencies ["run-atpkg-tests"]
:tool "nop" }}
:run-tests {
:dependencies ["run-atpkg-tests"]
:tool "nop" }
}
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment