mirror of
https://github.com/RubyMetric/chsrc.git
synced 2024-11-22 11:20:02 +08:00
Use new def_target
This commit is contained in:
parent
b6cf0dedee
commit
be8c119f46
|
@ -32,4 +32,4 @@ pl_clojure_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeManual);
|
||||
}
|
||||
|
||||
def_target_noget (pl_clojure);
|
||||
def_target_s (pl_clojure);
|
||||
|
|
|
@ -38,4 +38,4 @@ pl_nuget_setsrc (char *option)
|
|||
}
|
||||
|
||||
|
||||
def_target_noget (pl_nuget);
|
||||
def_target_s (pl_nuget);
|
||||
|
|
|
@ -67,4 +67,4 @@ pl_haskell_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeManual);
|
||||
}
|
||||
|
||||
def_target_noget (pl_haskell);
|
||||
def_target_s (pl_haskell);
|
||||
|
|
|
@ -149,4 +149,4 @@ pl_python_resetsrc (char *option)
|
|||
pl_python_setsrc (ChsrcTypeReset);
|
||||
}
|
||||
|
||||
def_target_full(pl_python);
|
||||
def_target_gsr(pl_python);
|
||||
|
|
|
@ -131,4 +131,4 @@ os_freebsd_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeSemiAuto);
|
||||
}
|
||||
|
||||
def_target_noget(os_freebsd);
|
||||
def_target_s(os_freebsd);
|
||||
|
|
|
@ -51,4 +51,4 @@ os_ros_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeUntested);
|
||||
}
|
||||
|
||||
def_target_noget(os_ros);
|
||||
def_target_s(os_ros);
|
||||
|
|
|
@ -50,4 +50,4 @@ os_gentoo_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeUntested);
|
||||
}
|
||||
|
||||
def_target_noget(os_gentoo);
|
||||
def_target_s(os_gentoo);
|
||||
|
|
|
@ -79,4 +79,4 @@ os_opensuse_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeUntested);
|
||||
}
|
||||
|
||||
def_target_noget(os_opensuse);
|
||||
def_target_s(os_opensuse);
|
||||
|
|
|
@ -52,4 +52,4 @@ os_msys2_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeUntested);
|
||||
}
|
||||
|
||||
def_target_noget(os_msys2);
|
||||
def_target_s(os_msys2);
|
||||
|
|
|
@ -37,4 +37,4 @@ os_solus_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeAuto);
|
||||
}
|
||||
|
||||
def_target_noget(os_solus);
|
||||
def_target_s(os_solus);
|
||||
|
|
|
@ -41,4 +41,4 @@ os_almalinux_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeAuto);
|
||||
}
|
||||
|
||||
def_target_noget(os_almalinux);
|
||||
def_target_s(os_almalinux);
|
||||
|
|
|
@ -41,4 +41,4 @@ os_anolis_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeUntested);
|
||||
}
|
||||
|
||||
def_target_noget(os_anolis);
|
||||
def_target_s(os_anolis);
|
||||
|
|
|
@ -65,4 +65,4 @@ os_fedora_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeAuto);
|
||||
}
|
||||
|
||||
def_target_noget(os_fedora);
|
||||
def_target_s(os_fedora);
|
||||
|
|
|
@ -47,4 +47,4 @@ os_rockylinux_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeUntested);
|
||||
}
|
||||
|
||||
def_target_noget(os_rockylinux);
|
||||
def_target_s(os_rockylinux);
|
||||
|
|
|
@ -48,4 +48,4 @@ os_openeuler_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeAuto);
|
||||
}
|
||||
|
||||
def_target_noget(os_openeuler);
|
||||
def_target_s(os_openeuler);
|
||||
|
|
|
@ -100,6 +100,6 @@ void
|
|||
|
||||
// 定义此 target,参考 "target.h"
|
||||
// 下列情形3选1
|
||||
def_target_full(<category>_<target>);
|
||||
def_target_gsr(<category>_<target>);
|
||||
def_target(<category>_<target>);
|
||||
def_target_no_get(<category>_<target>);
|
||||
|
|
|
@ -72,4 +72,4 @@ wr_anaconda_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeSemiAuto);
|
||||
}
|
||||
|
||||
def_target_noget (wr_anaconda);
|
||||
def_target_s (wr_anaconda);
|
||||
|
|
|
@ -43,4 +43,4 @@ wr_cocoapods_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeManual);
|
||||
}
|
||||
|
||||
def_target_noget (wr_cocoapods);
|
||||
def_target_s (wr_cocoapods);
|
||||
|
|
|
@ -42,4 +42,4 @@ wr_flathub_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeAuto);
|
||||
}
|
||||
|
||||
def_target_noget (wr_flathub);
|
||||
def_target_s (wr_flathub);
|
||||
|
|
|
@ -38,4 +38,4 @@ wr_guix_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeManual);
|
||||
}
|
||||
|
||||
def_target_noget (wr_guix);
|
||||
def_target_s (wr_guix);
|
||||
|
|
|
@ -61,4 +61,4 @@ wr_nix_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeSemiAuto);
|
||||
}
|
||||
|
||||
def_target_noget (wr_nix);
|
||||
def_target_s (wr_nix);
|
||||
|
|
|
@ -46,4 +46,4 @@ wr_winget_resetsrc (char *option)
|
|||
chsrc_say_lastly (NULL, ChsrcTypeAuto);
|
||||
}
|
||||
|
||||
def_target_full(wr_winget);
|
||||
def_target_gsr(wr_winget);
|
||||
|
|
|
@ -40,4 +40,4 @@ wr_emacs_setsrc (char *option)
|
|||
chsrc_say_lastly (&source, ChsrcTypeManual);
|
||||
}
|
||||
|
||||
def_target_noget (wr_emacs);
|
||||
def_target_s (wr_emacs);
|
||||
|
|
Loading…
Reference in New Issue
Block a user