Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main is not a function #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 53 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,56 @@ npm-debug.log
/lib/bs/
/dist/bundle.js
/src/Demo.bs.js
/node_modules/
/node_modules/*.annot
*.cmo
*.cma
*.cmi
*.a
*.o
*.cmx
*.cmxs
*.cmxa

.merlin
*.install
*.coverage
*.sw[lmnop]

_build/
_doc/
_coverage/
_opam/

odoc.css
bench.tsv
_esy
node_modules
lib/bs
.bsb.lock
*.annot
*.cmo
*.cma
*.cmi
*.a
*.o
*.cmx
*.cmxs
*.cmxa

.merlin
*.install
*.coverage
*.sw[lmnop]

_build/
_doc/
_coverage/
_opam/

odoc.css
bench.tsv
_esy
node_modules
lib/bs
.bsb.lock
.melange.eobjs
9 changes: 4 additions & 5 deletions bsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// This is the configuration file used by BuckleScript's build system bsb. Its documentation lives here: http://bucklescript.github.io/bucklescript/docson/#build-schema.json
// BuckleScript comes with its own parser for bsconfig.json, which is normal JSON, with the extra support of comments and trailing commas.

{
"name": "buckle",
"version": "0.1.0",
Expand All @@ -14,11 +13,11 @@
"suffix": ".bs.js",
"bs-dependencies": [
"bs-css",
"bs-css-emotion",
"bucklescript-tea"
],
"warnings": {
"error": "+101"
},
"namespace": true,
"refmt": 3
}
"namespace": true
}
3 changes: 3 additions & 0 deletions dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
;;;;{BSB GENERATED: NO EDIT
(include dune.bsb)
;;;;BSB GENERATED: NO EDIT}
2 changes: 2 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(lang dune 2.8)
(using action-plugin 0.1)
620 changes: 620 additions & 0 deletions dune.bsb

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions esy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "buckle",
"dependencies": {
"ocaml": "4.12.x",
"melange": "melange-re/melange",
"@opam/ocaml-lsp-server": "*"
},
"esy": {
"buildsInSource": "unsafe",
"build": [
"ln -sfn #{melange.install} node_modules/bs-platform",
"bsb -make-world"
]
},
"installConfig": {
"pnp": false
}
}
3 changes: 3 additions & 0 deletions esy.lock/.gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions esy.lock/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading