mirror of
https://github.com/SamuelSchlesinger/hs-ts.git
synced 2024-09-11 10:55:41 +03:00
11 lines
324 B
Bash
11 lines
324 B
Bash
cabal install --overwrite-policy=always
|
|
echo "Built + Installed Haskell artifacts"
|
|
devtool typescript > frontend/src/Api.ts
|
|
echo "Generated up to date TypeScript types"
|
|
cd frontend
|
|
yarn build
|
|
cd ..
|
|
cabal clean
|
|
cabal install --overwrite-policy=always
|
|
echo "Re-compiled backend with the frontend artifacts embedded within it"
|