Skip to content

Commit

Permalink
Merge pull request #94 from paxproject/ss/handle-ts-compiles
Browse files Browse the repository at this point in the history
Compile Typescript files on libdev runs
  • Loading branch information
warfaj authored Feb 2, 2024
2 parents 0f55080 + 5359924 commit 1465e30
Show file tree
Hide file tree
Showing 24 changed files with 61 additions and 2,054 deletions.
2 changes: 1 addition & 1 deletion examples/src/camera/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/color-grid/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/component_in_component/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/fireworks/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/grids/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/hello-rgb/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/layer-tests/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/one-rect/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/paths/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/playground/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/raycast-tests/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/simple-conditional/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/simple-stacker/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/three-repeats/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
2 changes: 1 addition & 1 deletion examples/src/words/pax
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -e
current_dir=$(pwd)
pushd ../../../pax-cli
cargo build
../target/debug/pax-cli "$@" --path="$current_dir" --libdev
PAX_WORKSPACE_ROOT=.. ../target/debug/pax-cli "$@" --path="$current_dir" --libdev
popd
4 changes: 2 additions & 2 deletions pax-chassis-web/build-interface.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

set -e
pushd interface
esbuild --bundle src/index.ts --global-name=Pax --outfile=public/pax-chassis-web-interface.js
popd
popd
2 changes: 2 additions & 0 deletions pax-chassis-web/interface/public/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pax-chassis-web-interface.js
pax-chassis-web-interface.css
71 changes: 0 additions & 71 deletions pax-chassis-web/interface/public/pax-chassis-web-interface.css

This file was deleted.

Loading

0 comments on commit 1465e30

Please sign in to comment.