Commit 49bbfcf 1 parent 93f2478 commit 49bbfcf Copy full SHA for 49bbfcf
File tree 10 files changed +23
-29
lines changed
10 files changed +23
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ Cargo.lock
15
15
16
16
# Node
17
17
node_modules /
18
- legion -wasm32-wasi.wasm
19
- package-lock.json
18
+ github -wasm32-wasi.wasm
19
+ package-lock.json
Original file line number Diff line number Diff line change 1
1
cargo build --release --target wasm32-wasip2
2
- cp target/wasm32-wasip2/release/legion.wasm projects/legion-wasm32-wasi/legion-wasm32-wasi.wasm
3
- jco transpile projects/legion-wasm32-wasi/legion-wasm32-wasi.wasm -o projects/legion-wasm32-wasi/src --name index --no-namespaced-exports --multi-memory --valid-lifting-optimization --optimize
4
-
5
- cp target/wasm32-wasip2/release/v.wasm projects/v-wasm32-wasi/v-wasm32-wasi.wasm
6
- jco transpile projects/v-wasm32-wasi/v-wasm32-wasi.wasm -o projects/v-wasm32-wasi/src --name index --no-namespaced-exports --multi-memory --valid-lifting-optimization --optimize
2
+ cp target/wasm32-wasip2/release/github.wasm projects/publish-wasm32-wasi/github-wasm32-wasi.wasm
3
+ jco transpile projects/publish-wasm32-wasi/github-wasm32-wasi.wasm -o projects/publish-wasm32-wasi/src --name index --no-namespaced-exports --multi-memory --valid-lifting-optimization --optimize
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
2
+
3
+ import { run } from "@valkyrie-language/rust-publish" ;
4
+
5
+ run . run ( )
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ impl GithubCLI {
17
17
pub async fn run ( self ) -> Result < ( ) , GithubError > {
18
18
let args: Vec < String > = std:: env:: args ( ) . collect ( ) ;
19
19
println ! ( "Args:\n {:#?}" , args) ;
20
- let Self { commands, arguments } = self ;
21
- match commands {
22
- Some ( s) => s. run ( & arguments) . await ?,
23
- None => { }
24
- }
20
+ // let Self { commands, arguments } = self;
21
+ // match commands {
22
+ // Some(s) => s.run(&arguments).await?,
23
+ // None => {}
24
+ // }
25
25
Ok ( ( ) )
26
26
}
27
27
}
Original file line number Diff line number Diff line change 1
1
use clap:: Parser ;
2
- use legion :: { GithubCLI , GithubError } ;
2
+ use github :: { GithubCLI , GithubError } ;
3
3
4
4
#[ tokio:: main( flavor = "current_thread" ) ]
5
5
async fn main ( ) -> Result < ( ) , GithubError > {
Original file line number Diff line number Diff line change 1
1
node_modules /
2
- legion -wasm32-wasi.wasm
3
- legion .wasm
2
+ github -wasm32-wasi.wasm
3
+ github .wasm
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
"license" : " UNLICENSED" ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
- "url" : " https://github.com/valkyrie-language/legion.rs" ,
8
+ "url" : " git+ https://github.com/valkyrie-language/legion.rs.git " ,
9
9
"directory" : " projects/legion-wasm32-wasi"
10
10
},
11
+ "bin" : {
12
+ "rust-publish" : " rust-publish.js"
13
+ },
11
14
"type" : " module" ,
15
+ "main" : " src/index.js" ,
12
16
"types" : " src/index.d.js" ,
13
17
"typings" : " src/index.d.js" ,
14
- "bin" : {
15
- "legion" : " legion.js" ,
16
- "legion-new" : " legion-new.js"
17
- },
18
18
"publishConfig" : {
19
19
"access" : " public" ,
20
20
"registry" : " https://registry.npmjs.org/"
23
23
24
24
},
25
25
"dependencies" : {
26
- "@bytecodealliance/preview2-shim" : " ^0.17.1" ,
27
- "create-legion" : " 0.0.2"
26
+ "@bytecodealliance/preview2-shim" : " ^0.17.1"
28
27
},
29
28
"devDependencies" : {
30
29
File renamed without changes.
You can’t perform that action at this time.
0 commit comments