mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 08:00:45 +00:00
b0cb1e0b27
* Ansible execution and parsing * Working collections and pip dependencies * Remove unused vars * File resources logic for ansible * Make frontend for ansible and resource file * Format file * Change naming of file resource and inventory fields * Add autocomplete for file extension resource creation * Add endpoint to list file formats for resource types * Add CLI functionality to pull/push file resources * Add beta tag to ansible * Add Full image dockerfiles containing ansible * Prepare sqlx * Update cargo.lock * Update ansible path * Remove unused imports * Add back import removed by rust-analyzer * Improve ansible init code * Prepare sqlx * Change dockerfile to make the full windmill image * Remove old dockerfile * Improve autocomplete file resource extension select * Remove comment * Validate file extension * Add icons to text file resources * Remove editability of file resource types * Remove unused import * Missing space * Add yaml parser
51 lines
2.1 KiB
Bash
Executable File
51 lines
2.1 KiB
Bash
Executable File
#!/bin/bash
|
|
set -eou pipefail
|
|
|
|
# full pkg
|
|
OUT_DIR="pkg"
|
|
wasm-pack build --release --target web --out-dir $OUT_DIR --all-features \
|
|
-Z build-std=panic_abort,std -Z build-std-features=panic_immediate_abort
|
|
|
|
# bun and deno
|
|
OUT_DIR="pkg-ts"
|
|
wasm-pack build --release --target web --out-dir $OUT_DIR --features "ts-parser" \
|
|
-Z build-std=panic_abort,std -Z build-std-features=panic_immediate_abort
|
|
sed -i 's/"windmill-parser-wasm"/"windmill-parser-wasm-ts"/' $OUT_DIR/package.json
|
|
|
|
# sql languages, graphql and bash/powershell, since they all use regex
|
|
OUT_DIR="pkg-regex"
|
|
wasm-pack build --release --target web --out-dir $OUT_DIR \
|
|
--features "sql-parser,graphql-parser,bash-parser" \
|
|
-Z build-std=panic_abort,std -Z build-std-features=panic_immediate_abort
|
|
sed -i 's/"windmill-parser-wasm"/"windmill-parser-wasm-regex"/' $OUT_DIR/package.json
|
|
|
|
# python
|
|
OUT_DIR="pkg-py"
|
|
wasm-pack build --release --target web --out-dir $OUT_DIR --features "py-parser" \
|
|
-Z build-std=panic_abort,std -Z build-std-features=panic_immediate_abort
|
|
sed -i 's/"windmill-parser-wasm"/"windmill-parser-wasm-py"/' $OUT_DIR/package.json
|
|
|
|
# go
|
|
OUT_DIR="pkg-go"
|
|
wasm-pack build --release --target web --out-dir $OUT_DIR --features "go-parser" \
|
|
-Z build-std=panic_abort,std -Z build-std-features=panic_immediate_abort
|
|
sed -i 's/"windmill-parser-wasm"/"windmill-parser-wasm-go"/' $OUT_DIR/package.json
|
|
|
|
# php
|
|
OUT_DIR="pkg-php"
|
|
wasm-pack build --release --target web --out-dir $OUT_DIR --features "php-parser" \
|
|
-Z build-std=panic_abort,std -Z build-std-features=panic_immediate_abort
|
|
sed -i 's/"windmill-parser-wasm"/"windmill-parser-wasm-php"/' $OUT_DIR/package.json
|
|
|
|
# rust
|
|
OUT_DIR="pkg-rust"
|
|
wasm-pack build --release --target web --out-dir $OUT_DIR --features "rust-parser" \
|
|
-Z build-std=panic_abort,std -Z build-std-features=panic_immediate_abort
|
|
sed -i 's/"windmill-parser-wasm"/"windmill-parser-wasm-rust"/' $OUT_DIR/package.json
|
|
|
|
# ansible
|
|
OUT_DIR="pkg-yaml"
|
|
wasm-pack build --release --target web --out-dir $OUT_DIR --features "ansible-parser" \
|
|
-Z build-std=panic_abort,std -Z build-std-features=panic_immediate_abort
|
|
sed -i 's/"windmill-parser-wasm"/"windmill-parser-wasm-yaml"/' $OUT_DIR/package.json
|