Skip to content

Commit

Permalink
Remember to elm-land generate before CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
Erudition committed Nov 14, 2023
1 parent 8b60be0 commit 6709b73
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"description": "Minder - life tracker",
"main": "app/app.ts",
"scripts": {
"packages-install": "pnpm i --shamefully-hoist",
"start": "elm-land generate && cp elm-patches/HashRouting.elm .elm-land/src/ && vite",
"setup": "pnpm i --shamefully-hoist",
"start": "pnpm run elm-land-generate && vite",
"elm-land-generate": "elm-land generate && cp elm-patches/HashRouting.elm .elm-land/src/",
"postinstall": "elm-tooling install && pnpm patch-elm",
"build": "tsc && vite build",
"build-ci": "vite build",
"build-sync": "vite build && cap sync",
"build-ci": "pnpm run elm-land-generate && vite build",
"build-sync": "pnpm run elm-land-generate && vite build && cap sync",
"patch-elm": "rm -rf ~/.elm/0.19.1/packages/ && cd elm-patches/dummyproject/ && elm make --output=/dev/null Dummy.elm && cd ../.. && make --directory ./elm-patches && rm -rf elm-stuff",
"capacitor:copy:after": "if [ $CAPACITOR_PLATFORM_NAME == 'web' ]; then echo leaving index in place for web. ; else echo replacing index with go-online... && mv android/app/src/main/assets/public/index.html android/app/src/main/assets/public/fallback.html && mv android/app/src/main/assets/public/go-online.html android/app/src/main/assets/public/index.html; fi"
},
Expand Down

0 comments on commit 6709b73

Please sign in to comment.