mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-11 08:15:35 +03:00
Cleanup
This commit is contained in:
parent
50125166a6
commit
dd9095bfba
6
.gitignore
vendored
6
.gitignore
vendored
@ -49,9 +49,9 @@ version.properties
|
||||
|
||||
#sprites
|
||||
|
||||
#core/assets/sprites/sprites*
|
||||
#core/assets/sprites/fallback/
|
||||
#core/assets/sprites/block_colors.png
|
||||
core/assets/sprites/sprites*
|
||||
core/assets/sprites/fallback/
|
||||
core/assets/sprites/block_colors.png
|
||||
|
||||
.attach_*
|
||||
## Java
|
||||
|
@ -154,8 +154,7 @@ task run(type: Exec){
|
||||
}
|
||||
|
||||
if(!project.ext.hasSprites()){
|
||||
println "Re-packing sprites."
|
||||
println "Scheduling sprite pack."
|
||||
run.dependsOn ":tools:pack"
|
||||
assembleRelease.dependsOn ":tools:pack"
|
||||
assembleDebug.dependsOn ":tools:pack"
|
||||
deploy.dependsOn ":tools:pack"
|
||||
}
|
@ -51,7 +51,7 @@ task dist(type: Jar, dependsOn: configurations.runtimeClasspath){
|
||||
}
|
||||
|
||||
if(!project.ext.hasSprites()){
|
||||
println "Re-packing sprites."
|
||||
println "Scheduling sprite packi."
|
||||
run.dependsOn ":tools:pack"
|
||||
dist.dependsOn ":tools:pack"
|
||||
}
|
||||
|
@ -383,7 +383,7 @@ task pack(dependsOn: classes){
|
||||
println("\n\nPacking normal 4096 sprites...\n\n")
|
||||
|
||||
//pack normal sprites
|
||||
TexturePacker.process("core/assets-raw/sprites_out/", "core/assets/sprites/", "sprites.atlas")
|
||||
TexturePacker.process(new File(rootDir, "core/assets-raw/sprites_out/").absolutePath, new File(rootDir, "core/assets/sprites/").absolutePath, "sprites.atlas")
|
||||
|
||||
println("\n\nPacking fallback 2048 sprites...\n\n")
|
||||
|
||||
@ -393,7 +393,7 @@ task pack(dependsOn: classes){
|
||||
}
|
||||
|
||||
//pack fallback 2048x2048 sprites
|
||||
TexturePacker.process("core/assets-raw/sprites_out/", "core/assets/sprites/fallback/", "sprites.atlas")
|
||||
TexturePacker.process(new File(rootDir, "core/assets-raw/sprites_out/").absolutePath, new File(rootDir, "core/assets/sprites/fallback/").absolutePath, "sprites.atlas")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user