Skip to content

Commit

Permalink
Rename build folder
Browse files Browse the repository at this point in the history
  • Loading branch information
northword committed Jul 1, 2023
1 parent fd3fafe commit 6576618
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@typescript-eslint/no-non-null-assertion": "off"
},
"ignorePatterns": [
"**/builds/**",
"**/build/**",
"**/dist/**",
"**/node_modules/**",
"**/scripts/**",
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**/builds
**/build
node_modules
package-lock.json
zotero-cmd.json
2 changes: 1 addition & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
},
"github": {
"release": true,
"assets": ["builds/*.xpi"]
"assets": ["build/*.xpi"]
},
"hooks": {
"after:bump": "npm run build",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function dateFormat(fmt, date) {
async function main() {
const t = new Date();
const buildTime = dateFormat("YYYY-mm-dd HH:MM:SS", t);
const buildDir = "builds";
const buildDir = "build";

console.log(
`[Build] BUILD_DIR=${buildDir}, VERSION=${version}, BUILD_TIME=${buildTime}, ENV=${[
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"strict": true
},
"include": ["src", "typings", "node_modules/zotero-types"],
"exclude": ["builds", "addon"]
"exclude": ["build", "addon"]
}

0 comments on commit 6576618

Please sign in to comment.