mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-23 16:43:24 +03:00
WIP: add build.sh for all FEs and call from build.rs
This commit is contained in:
parent
814b34da80
commit
a6d88b665f
@ -169,5 +169,23 @@ fn main() -> anyhow::Result<()> {
|
|||||||
let bootstrapped_processes_path = target_dir.join("bootstrapped_processes.rs");
|
let bootstrapped_processes_path = target_dir.join("bootstrapped_processes.rs");
|
||||||
fs::write(&bootstrapped_processes_path, bootstrapped_processes)?;
|
fs::write(&bootstrapped_processes_path, bootstrapped_processes)?;
|
||||||
|
|
||||||
|
// build core frontends
|
||||||
|
let core_frontends = vec![
|
||||||
|
"src/register-ui",
|
||||||
|
"packages/app_store/ui",
|
||||||
|
"packages/homepage/ui",
|
||||||
|
// chess when brought in
|
||||||
|
];
|
||||||
|
|
||||||
|
// for each frontend, execute build.sh
|
||||||
|
for frontend in core_frontends {
|
||||||
|
let status = std::process::Command::new("sh")
|
||||||
|
.arg(format!("{}/build.sh", frontend))
|
||||||
|
.status()?;
|
||||||
|
if !status.success() {
|
||||||
|
return Err(anyhow::anyhow!("Failed to build frontend: {}", frontend));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
npm run build:copy && cd ~/kinode && cargo +nightly build -p kinode && cd kinode/packages/app_store/ui
|
npm run build:copy
|
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "Chat Template",
|
|
||||||
"subtitle": "The chat template from kit",
|
|
||||||
"description": "The kit chat template is the default app when starting a new kit project. This app is the basic version of that, packaged for the app store.",
|
|
||||||
"image": "https://st4.depositphotos.com/7662228/30134/v/450/depositphotos_301343880-stock-illustration-best-chat-speech-bubble-icon.jpg",
|
|
||||||
"version": "0.1.2",
|
|
||||||
"license": "MIT",
|
|
||||||
"website": "https://kinode.org",
|
|
||||||
"screenshots": [
|
|
||||||
"https://pongo-uploads.s3.us-east-2.amazonaws.com/Screenshot+2024-01-30+at+10.01.46+PM.png",
|
|
||||||
"https://pongo-uploads.s3.us-east-2.amazonaws.com/Screenshot+2024-01-30+at+10.01.52+PM.png"
|
|
||||||
],
|
|
||||||
"mirrors": [
|
|
||||||
"odinsbadeye.os"
|
|
||||||
],
|
|
||||||
"versions": [
|
|
||||||
"a2c584bf63a730efdc79ec0a3c93bc97eba4e8745c633e3abe090b4f7e270e92",
|
|
||||||
"c13f7ae39fa7f652164cfc1db305cd864cc1dc5f33827a2d74f7dde70ef36662",
|
|
||||||
"09d24205d8e1f3634448e881db200b88ad691bbdaabbccb885b225147ba4a93e",
|
|
||||||
"733be24324802a35944a73f355595f781de65d9d6e393bdabe879edcb77dfb62"
|
|
||||||
]
|
|
||||||
}
|
|
1
kinode/packages/homepage/ui/build.sh
Normal file
1
kinode/packages/homepage/ui/build.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
yarn && yarn run tc && yarn build
|
1
kinode/src/register-ui/build.sh
Normal file
1
kinode/src/register-ui/build.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
yarn && yarn run tc && yarn build
|
Loading…
Reference in New Issue
Block a user