Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

Add test for `gleam export hex-tarball`

+23
+5
Makefile
··· 22 22 cd test/javascript_prelude && make test 23 23 cd test/project_erlang && cargo run clean && cargo run check && cargo run test 24 24 cd test/project_javascript && cargo run clean && cargo run check && cargo run test 25 + cd test/hextarball && make test 25 26 26 27 .PHONY: language-test 27 28 language-test: ## Run the language integration tests for all targets ··· 42 43 .PHONY: test-watch 43 44 test-watch: ## Run compiler tests when files change 44 45 watchexec --changes-only -e rs,toml,gleam,html,capnp "cargo test --quiet" 46 + 47 + .PHONY: export-hex-tarball-test 48 + export-hex-tarball-test: ## Run `gleam export hex-tarball` and verify it is created 49 + cd test/hextarball && make test 45 50 46 51 # Debug print vars with `make print-VAR_NAME` 47 52 print-%: ; @echo $*=$($*)
+1
test/hextarball/.gitignore
··· 1 + build
+3
test/hextarball/Makefile
··· 1 + test: 2 + # remove old tarball && create one && make will fail when it wasn't 3 + cargo run clean && cargo run export hex-tarball && make build/hextarball-0.1.0.tar
+4
test/hextarball/gleam.toml
··· 1 + name = "hextarball" 2 + version = "0.1.0" 3 + description = "Test project to construct a hex tarball" 4 + licences = ["Apache-2.0"]
+7
test/hextarball/manifest.toml
··· 1 + # This file was generated by Gleam 2 + # You typically do not need to edit this file 3 + 4 + packages = [ 5 + ] 6 + 7 + [requirements]
+3
test/hextarball/src/hextarball.gleam
··· 1 + pub fn something() { 2 + "Just a thing to export" 3 + }