Skip to content

Commit

Permalink
fix elm patcher in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Erudition committed Nov 14, 2023
1 parent be21d84 commit 299a6bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions elm-patches/dummyproject/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"direct": {
"elm/browser": "1.0.2",
"elm/core": "1.0.5",
"elm/html": "1.0.0"
"elm/html": "1.0.0",
"elm/url": "1.0.0"
},
"indirect": {
"elm/json": "1.1.3",
"elm/time": "1.0.0",
"elm/url": "1.0.0",
"elm/virtual-dom": "1.0.3"
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "tsc && vite build",
"build-ci": "vite build",
"build-sync": "vite build && cap sync",
"patch-elm": "rm -rf ~/.elm/0.19.1/packages/ && elm make --output=/dev/null elm-patches/dummyproject/Dummy.elm && make --directory ./elm-patches && rm -rf elm-stuff",
"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"
},
"repository": {
Expand Down

0 comments on commit 299a6bd

Please sign in to comment.