File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
// This [Deno] program checks the conformance of this workspace's Cargo
2
2
// metadata to the coding guidelines.
3
3
//
4
+ // This script also lists crates to be published.
5
+ //
4
6
// [Deno]: https://deno.land/
5
7
//
6
8
// Usage: deno run --allow-read scripts/check-workspace.ts
@@ -36,7 +38,7 @@ await log.setup({
36
38
37
39
loggers : {
38
40
default : {
39
- level : "DEBUG " ,
41
+ level : "INFO " ,
40
42
handlers : [ "console" ] ,
41
43
} ,
42
44
} ,
@@ -90,6 +92,11 @@ async function validateWorkspace(workspacePath: string): Promise<void> {
90
92
hasError = true ;
91
93
}
92
94
95
+ // Log published crates
96
+ if ( publish ) {
97
+ logger . info ( `${ crateRelPath } : version ${ pkg . version } ` ) ;
98
+ }
99
+
93
100
// Published crates must have versioned dependencies
94
101
for ( const [ name , dep ] of Object . entries ( dependencies ) ) {
95
102
const depEx = typeof dep === "string" ? { version : dep } : dep ;
You can’t perform that action at this time.
0 commit comments