mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
Chore/reorg backend ts (#2582)
* create index * chore: Add the star exports for the bindings --------- Co-authored-by: J H <dragondef@gmail.com>
This commit is contained in:
1
Makefile
1
Makefile
@@ -183,6 +183,7 @@ container-runtime/node_modules: container-runtime/package.json container-runtime
|
||||
core/startos/bindings: $(shell git ls-files -- core ':!:core/startos/bindings/*') $(ENVIRONMENT_FILE)
|
||||
rm -rf core/startos/bindings
|
||||
(cd core/ && cargo test --features=test)
|
||||
ls core/startos/bindings/*.ts | sed 's/core\/startos\/bindings\/\([^.]*\)\.ts/export { \1 } from ".\/\1.ts";/g' > core/startos/bindings/index.ts
|
||||
npm --prefix sdk exec -- prettier -w ./core/startos/bindings/*.ts
|
||||
|
||||
sdk/dist: $(shell git ls-files sdk) core/startos/bindings
|
||||
|
||||
Reference in New Issue
Block a user