Skip to content

Commit

Permalink
Updated build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
straightcurve committed Feb 7, 2021
1 parent f088da7 commit c7df8fd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 184,258 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ npm i
npm run start
```

# package for windows and linux (64-bit)
# create packages for windows and linux (64-bit)
```bash
npm run build
npm run dist
```

# tailwind-css
```bash
npm run build-css # get development build
npm run build-css-prod # get production build
```
7 changes: 0 additions & 7 deletions build.sh

This file was deleted.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "src/main.js",
"scripts": {
"start": "electron .",
"build": "electron-builder -wl"
"build-css": "npx tailwindcss-cli@latest build src/pages/style.css src/pages/tailwind.css -o src/pages/tailwind.css",
"build-css-prod": "NODE_ENV=production npx tailwindcss-cli@latest build src/pages/style.css src/pages/tailwind.css -o src/pages/tailwind.css",
"dist": "npm run build-css-prod && electron-builder -wl"
},
"keywords": [
"osu",
Expand Down
Loading

0 comments on commit c7df8fd

Please sign in to comment.