8 Commits

Author SHA1 Message Date
1dcc8e614a Merge pull request #25 from dexoron/dev
v0.8.0
2026-07-18 20:05:12 +08:00
a3f8444c20 Replace GitLab pipeline trigger with Cloudflare build 2026-07-05 18:24:47 +08:00
1f3fc62cb6 Add GitHub Actions workflow to trigger site rebuild 2026-07-05 18:16:45 +08:00
f8d8c95912 Rename сrowdin.yml to crowdin.yml (latin) 2026-07-05 17:26:00 +08:00
9e07f70c78 fix crowdin file name 2026-07-05 17:24:14 +08:00
0376eded3f add Crowdin 2026-07-05 17:21:33 +08:00
803d5891ce Merge pull request #21 from dexoron/dev
v0.7.4
2026-06-19 17:50:59 +08:00
97db82e4f8 Merge pull request #20 from dexoron/dev
v0.7.3
2026-06-15 22:36:12 +08:00
5 changed files with 17 additions and 12 deletions

View File

@@ -0,0 +1,14 @@
name: Trigger site rebuild
on:
push:
branches: [master]
paths:
- 'docs/**'
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger Cloudflare Pages build
run: curl -sS -X POST "${{ secrets.CF_PAGES_DEPLOY_HOOK }}"

3
crowdin.yml Normal file
View File

@@ -0,0 +1,3 @@
files:
- source: /docs/**/*.mdx
translation: /docs-crowdin-export/%locale%/%original_path%/%original_file_name%.%file_extension%

View File

@@ -55,10 +55,6 @@ pub fn build(ctx: &BuildContext) -> Result<f64, String> {
)?; )?;
let objects = build_objects(compiler, &sources, &obj_dir, ctx, "o", qt_include_path)?; let objects = build_objects(compiler, &sources, &obj_dir, ctx, "o", qt_include_path)?;
if ctx.kind == "none" || ctx.kind == "custom" {
return Ok(common::elapsed_secs(start_time));
}
if ctx.kind == "staticlib" { if ctx.kind == "staticlib" {
return artifact::archive_static(ctx, &objects, start_time); return artifact::archive_static(ctx, &objects, start_time);
} }

View File

@@ -41,10 +41,6 @@ pub fn build(ctx: &BuildContext) -> Result<f64, String> {
}; };
let objects = build_objects(compiler, &sources, &obj_dir, ctx, "obj")?; let objects = build_objects(compiler, &sources, &obj_dir, ctx, "obj")?;
if ctx.kind == "none" || ctx.kind == "custom" {
return Ok(common::elapsed_secs(start_time));
}
if ctx.kind == "staticlib" { if ctx.kind == "staticlib" {
let lib_path = platform::lib_path(ctx.profile, ctx.project_name, ctx.target_dir); let lib_path = platform::lib_path(ctx.profile, ctx.project_name, ctx.target_dir);
if !common::needs_link(&objects, &lib_path) { if !common::needs_link(&objects, &lib_path) {

View File

@@ -51,10 +51,6 @@ where
}; };
let objects = build_objects_common(assembler, &sources, &obj_dir, ctx, &build_object)?; let objects = build_objects_common(assembler, &sources, &obj_dir, ctx, &build_object)?;
if ctx.kind == "none" || ctx.kind == "custom" {
return Ok(common::elapsed_secs(start_time));
}
if ctx.kind == "staticlib" { if ctx.kind == "staticlib" {
return artifact::archive_static(ctx, &objects, start_time); return artifact::archive_static(ctx, &objects, start_time);
} }