Skip to content

Commit

Permalink
linux
Browse files Browse the repository at this point in the history
  • Loading branch information
onnenon committed Apr 30, 2024
1 parent d798ae1 commit db5a5f7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
elm-version: 0.19.1
- name: Build
run: make build
run: make build-release
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
css:
./tailwindcss -i ./src/input.css -o ./dist/styles.css
./bin/tailwindcss -i ./src/input.css -o ./dist/styles.css

css-watch:
./tailwindcss -i ./src/input.css -o ./dist/styles.css --watch
./bin/tailwindcss -i ./src/input.css -o ./dist/styles.css --watch

build: css
elm make src/Main.elm --optimize --output=dist/main.js

live:
elm-live src/Main.elm --pushstate --startpage=./dist/index.html --dir=./dist -- --output=dist/main.js

build-release:
./bin/tailwindcss-linux-amd64 -i ./src/input.css -o ./dist/styles.css --minify
elm make src/Main.elm --optimize --output=dist/main.js
File renamed without changes.
1 change: 1 addition & 0 deletions bin/tailwindcss-linux-amd64
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Not Found

0 comments on commit db5a5f7

Please sign in to comment.