mirror of
https://gitlab.com/Cynosphere/xmc.git
synced 2024-08-14 22:57:03 +00:00
ci: delete old files when making new ones
This commit is contained in:
parent
a2bda7eff4
commit
31e4c4d251
2 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,8 @@ splitter:
|
|||
- git config --global user.name "CI"
|
||||
- git config --global user.email "ci@c7.pm"
|
||||
script:
|
||||
- rm -rf modular
|
||||
- mkdir modular
|
||||
- node bin/splitter.js xmc.user.css modular
|
||||
- prettier --write modular/**/*.css
|
||||
- prettier --write modular/*.css
|
||||
|
|
|
@ -82,7 +82,7 @@ try {
|
|||
files[
|
||||
key.replace("xmc_", "") +
|
||||
"/" +
|
||||
option.name.toLowerCase().replace(/ /g, "_")
|
||||
option.name.toLowerCase().replace(/ /g, "_").replace(/\//g, "_")
|
||||
] = option.value;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue