Test releaseTools
This commit is contained in:
@@ -68,9 +68,11 @@
|
|||||||
inherit cargoArtifacts;
|
inherit cargoArtifacts;
|
||||||
});
|
});
|
||||||
|
|
||||||
channel = pkgs.lib.release.channel {
|
channel = pkgs.lib.releaseTools.channel {
|
||||||
constituents = [
|
constituents = [
|
||||||
newalan
|
(pkgs.lib.releaseTools.nixBuild {
|
||||||
|
|
||||||
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ use serenity::prelude::Context;
|
|||||||
#[command]
|
#[command]
|
||||||
pub async fn ping(ctx: &Context, msg: &Message) -> CommandResult {
|
pub async fn ping(ctx: &Context, msg: &Message) -> CommandResult {
|
||||||
msg.channel_id.say(&ctx.http, "pong!").await?;
|
msg.channel_id.say(&ctx.http, "pong!").await?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user