build.atpkg 775 Bytes
Newer Older
Drew's avatar
Drew committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
(package
 :name "configurations"

     :tasks {
        :default {
            :tool "shell"
            ;;print some environment variables set by the configuration
            :script "echo \${ATBUILD_CONFIGURATION} \${ATBUILD_CONFIGURATION_OPTIMIZE}"
        }
        :tool {
            :tool "echo.attool"
            :always "some flag"
            :overlays {
                ;;if we're in this configuration, set the following value
                :atbuild.configuration.custom {
                    :bond "james bond"
                }
            }
        }
20 21 22 23 24 25 26 27

        :build {
            :tool "atllbuild"
            :sources ["src/**.swift"]
            :name "conftest"
            :output-type "executable"
            :publish-product true
        }
Drew's avatar
Drew committed
28 29
     }
)