···2222 cd test/javascript_prelude && make test
2323 cd test/project_erlang && cargo run clean && cargo run check && cargo run test
2424 cd test/project_javascript && cargo run clean && cargo run check && cargo run test
2525+ cd test/hextarball && make test
25262627.PHONY: language-test
2728language-test: ## Run the language integration tests for all targets
···4243.PHONY: test-watch
4344test-watch: ## Run compiler tests when files change
4445 watchexec --changes-only -e rs,toml,gleam,html,capnp "cargo test --quiet"
4646+4747+.PHONY: export-hex-tarball-test
4848+export-hex-tarball-test: ## Run `gleam export hex-tarball` and verify it is created
4949+ cd test/hextarball && make test
45504651# Debug print vars with `make print-VAR_NAME`
4752print-%: ; @echo $*=$($*)
···11+test:
22+ # remove old tarball && create one && make will fail when it wasn't
33+ cargo run clean && cargo run export hex-tarball && make build/hextarball-0.1.0.tar