Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle task for automatically submitting #38

Open
qbowers opened this issue Nov 2, 2020 · 0 comments
Open

Gradle task for automatically submitting #38

qbowers opened this issue Nov 2, 2020 · 0 comments

Comments

@qbowers
Copy link
Contributor

qbowers commented Nov 2, 2020

From npfoss last year:

[camel_case] Jasper already wrote one he uses for himself (just to zip though, not submit):

task createSubmission(type: Zip) {
group "battlecode"
description "Creates a submission zip."

dependsOn "build"

from file("src/camel_case").getAbsolutePath()
include "**/*"
archiveName "${new Date().format("yyyy-MM-dd_kk-mm-ss")}.zip"
destinationDir file("${project.buildDir}/submissions")

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant