Skip to content

Commit

Permalink
Added clean script
Browse files Browse the repository at this point in the history
  • Loading branch information
HHogg committed Feb 24, 2024
1 parent 25f38c4 commit ada6add
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 10,765 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,5 @@ jobs:
run: yarn
- name: 'Test: Linting'
run: yarn lint
- name: 'Build: Site'
run: yarn build
- name: 'Deploy: Site'
run: 'yarn firebase deploy --token ${{ secrets.FIREBASE_TOKEN }}'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
dist
pkg
lib
logs
node_modules
public
target
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
],
"scripts": {
"build": "yarn workspaces foreach -ptvR --from @hogg/website run build",
"clean": "yarn workspaces foreach -ptvR --from @hogg/website run clean",
"deploy": "firebase deploy",
"dev": "yarn workspaces foreach -pviR --from @hogg/website -j unlimited run dev",
"format": "prettier --write .",
Expand Down
5,946 changes: 0 additions & 5,946 deletions workspaces/tilings/logs/output.log.2024-02-22-22

This file was deleted.

4,816 changes: 0 additions & 4,816 deletions workspaces/tilings/logs/output.log.2024-02-22-23

This file was deleted.

1 change: 1 addition & 0 deletions workspaces/tilings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"main": "./src/index.ts",
"scripts": {
"build": "yarn generate:types",
"clean": "rm -rf ./logs",
"export:results": "cargo run --release --bin tiling-export",
"generate:images": "node ./scripts/generate-images.js",
"generate:results": "cargo run --release --bin tiling-searcher -- --reset --log-to-file",
Expand Down
1 change: 1 addition & 0 deletions workspaces/tilings/src-rust/parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"private": true,
"scripts": {
"build": "wasm-pack build --target web",
"clean": "rm -rf ./pkg",
"dev": "cargo watch -w ../tiling -w ./ -q -s \"yarn workspace @hogg/tiling-parser run build\""
}
}
1 change: 1 addition & 0 deletions workspaces/tilings/src-rust/renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"private": true,
"scripts": {
"build": "wasm-pack build --target web --release",
"clean": "rm -rf ./pkg",
"dev": "cargo watch -w ../tiling -w ./ -q -s \"yarn workspace @hogg/tiling-renderer run build\""
}
}
2 changes: 1 addition & 1 deletion workspaces/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build:client": "vite build --outDir dist/client",
"build:server": "vite build --ssr src/entry-server.tsx --outDir dist/server",
"build:svgs": "yarn svgr -d ./src/components/SvgImages ./src/assets/svgs --ext tsx --config-file .svgrrc.images.cjs",
"clean": "rm -rf dist",
"clean": "rm -rf ./dist",
"dev": "vite --host localhost --port 4001",
"serve": "superstatic dist/client --port 8080 --host 127.0.0.1",
"ssg": "node prerender"
Expand Down

0 comments on commit ada6add

Please sign in to comment.