Skip to content

Commit

Permalink
Clean up build process a little
Browse files Browse the repository at this point in the history
 - Minify CSS/JS with rollup too.
 - Compile the server to a single file. This isn't really needed, but
   makes packaging much easier.
  • Loading branch information
SquidDev committed Sep 14, 2022
1 parent 71907f0 commit 21fc502
Show file tree
Hide file tree
Showing 17 changed files with 1,256 additions and 398 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/build
/dist
/_*
/result
/src/viewer/styles.css.d.ts
/node_modules
35 changes: 0 additions & 35 deletions Makefile

This file was deleted.

11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,3 @@ to the computer.
![Sharing a session across multiple browsers](img/03-share.png "Sharing a session across multiple browsers")

Share your session with other people, allowing for a true multiplayer-notepad.

## Contributing
Contributions are more than welcome to Cloud Catcher, though I warn you the code does get rather messy at times. I
should warn you that building CC does get a little messy: it requires `make`, `lua` and Node.

- Clone the repository and `cd` into it as normal.
- Run `npm install` to get all node dependencies.
- Run `make serve` in order to run a development server (on port `:8080`) or `make dist` to generate a distribution.

You can also run `make SERVER=cc.fancy.com dist` (or similar) to generate a build using an alternative server name. You
may need to run `make clean` before changing this, to ensure files are regenerated.
Loading

0 comments on commit 21fc502

Please sign in to comment.