gitignore cleanup
This commit is contained in:
parent
74cce227a5
commit
c48627aec9
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
||||||
/target
|
/target
|
||||||
/.direnv
|
/.direnv
|
||||||
/assets/*
|
/assets/build
|
||||||
!/assets/.gitkeep
|
/assets/sa
|
||||||
|
/assets/mof
|
||||||
thbgm.dat
|
thbgm.dat
|
||||||
research/dump/*
|
research/dump/*
|
||||||
!/research/dump/sa/.gitkeep
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ def main [game_folder: path, version: int] {
|
||||||
}
|
}
|
||||||
|
|
||||||
let assets = $"assets/($game.folder)"
|
let assets = $"assets/($game.folder)"
|
||||||
|
mkdir $assets
|
||||||
let thver = $"th($game.version)"
|
let thver = $"th($game.version)"
|
||||||
thdat -C $assets -x $version $"($game_folder)/($thver).dat"
|
thdat -C $assets -x $version $"($game_folder)/($thver).dat"
|
||||||
try {
|
try {
|
||||||
|
@ -16,6 +17,7 @@ def main [game_folder: path, version: int] {
|
||||||
} catch { }
|
} catch { }
|
||||||
|
|
||||||
let research = $"research/dump/($game.folder)"
|
let research = $"research/dump/($game.folder)"
|
||||||
|
mkdir $research
|
||||||
let replt = {|ext| str replace $ext $"t($ext)"};
|
let replt = {|ext| str replace $ext $"t($ext)"};
|
||||||
let dump = {|ext|
|
let dump = {|ext|
|
||||||
ls $assets | get name | where {str ends-with $".($ext)"} | each {path basename}
|
ls $assets | get name | where {str ends-with $".($ext)"} | each {path basename}
|
||||||
|
|
Loading…
Reference in a new issue