diff --git a/srcpkgs/esbuild/template b/srcpkgs/esbuild/template new file mode 100644 index 00000000000..25f25e4dc1a --- /dev/null +++ b/srcpkgs/esbuild/template @@ -0,0 +1,25 @@ +# Template file for 'esbuild' +pkgname=esbuild +version=0.25.4 +revision=1 +build_style=go +go_import_path=github.com/evanw/esbuild +go_package="./cmd/esbuild" +checkdepends="nodejs pnpm yarn" +short_desc="Extremely fast bundler for the web" +maintainer="Luca Matei Pintilie " +license="MIT" +homepage="https://esbuild.github.io/" +changelog="https://github.com/evanw/esbuild/releases" +distfiles="https://github.com/evanw/esbuild/archive/refs/tags/v${version}.tar.gz" +checksum=4661a2b1d2b1db035a19eca5e771a40b6c16b23279aae02022def9fa45ed5ad9 + +do_check() { + # Skip test-deno (deno not packaged) and decorator-tests (not in a git + # repo) and test-wasm-node (exec fail) and js-api-tests (fails in CI) + make test-go vet-go no-filepath verify-source-map end-to-end-tests plugin-tests register-test node-unref-tests ts-type-tests lib-typecheck-node lib-typecheck-node-nolib +} + +post_install() { + vlicense LICENSE.md +}