basic functionality
This commit is contained in:
parent
59a816b96f
commit
361c7a8734
3 changed files with 100 additions and 41 deletions
|
@ -27,7 +27,6 @@ in
|
|||
buildPhase = ''
|
||||
elm make ./Main.elm --optimize --output=tmp.js
|
||||
esbuild ./tmp.js --minify --target=es5 --outfile=main.js
|
||||
echo "<!DOCTYPE html><html><head><script type = 'text/javascript' src = './main.js'></script></head><body><script type = 'text/javascript' src = './init.js'></script></body></html>" > index.html
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir $out/bin -p
|
||||
|
@ -41,7 +40,6 @@ in
|
|||
|
||||
cp index.html $out/src/index.html
|
||||
cp main.js $out/src/main.js
|
||||
cp init.js $out/src/init.js
|
||||
'';
|
||||
meta = {
|
||||
mainProgram = "math-project";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue