2 Commits
0.1 ... 0.2

Author SHA1 Message Date
AB
00b15e01b6 Fix mystem exec. 2020-12-16 19:15:20 +03:00
AB
731232804b Fix workflow 2020-12-16 19:07:18 +03:00
2 changed files with 7 additions and 2 deletions

View File

@ -86,5 +86,4 @@ jobs:
--name ${artifact} \ --name ${artifact} \
--file ${artifact} --file ${artifact}
done done
./bin/linux/amd64/github-release upload -u house-of-vanity -r furumi --tag ${{ steps.get_version.outputs.FULL_TAG }} --name arch_linux_furumi-${{ steps.get_version.outputs.VERSION }}-x86_64.pkg.tar.zst --file ./furumi-x86_64.pkg.tar.zst

View File

@ -18,7 +18,13 @@ use mystem::MyStem;
#[tokio::main] #[tokio::main]
async fn main() -> Result<(), errors::Error> { async fn main() -> Result<(), errors::Error> {
env_logger::from_env(Env::default().default_filter_or("info")).init(); env_logger::from_env(Env::default().default_filter_or("info")).init();
let mut mystem = MyStem::new()?; let mut mystem = match MyStem::new() {
Ok(mystem) => mystem,
Err(e) => {
error!("MyStem init error. {:?}", e);
process::exit(0x0002);
}
};
match db::update_scheme() { match db::update_scheme() {
Ok(_) => {} Ok(_) => {}
Err(e) => panic!("Database error: {:?}", e), Err(e) => panic!("Database error: {:?}", e),