Skip to content

Commit

Permalink
Build for production
Browse files Browse the repository at this point in the history
  • Loading branch information
carlotm committed Jan 14, 2024
1 parent 6b195a4 commit ce0a4e5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $(public_dir)/index.html: src/index.html
minify $< > $@

$(public_dir)/app.js: src/Umbra.elm
elm make $< --output /tmp/app.js
elm make --optimize $< --output /tmp/app.js
minify /tmp/app.js > $@

$(public_dir)/app.css: src/umbra.css
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Umbra

This is an app written in elm, deployed at [carlotm.github.io/umbra](https://carlotm.github.io/umbra/).

## Local development

This app uses [devbox](https://www.jetpack.io/devbox/).

Use `devbox shell` to download the requirements and activate the development environment.

Use `make` to build the app in the `_site` folder.

Open `_site/index.html` in your favorite web browser.

Cheers!

0 comments on commit ce0a4e5

Please sign in to comment.