File tree Expand file tree Collapse file tree 4 files changed +43
-5
lines changed Expand file tree Collapse file tree 4 files changed +43
-5
lines changed Original file line number Diff line number Diff line change 1+ name : leetcode-cli 
2+ 
3+ on : [push, pull_request] 
4+ 
5+ jobs :
6+   build :
7+     runs-on : ${{ matrix.os }} 
8+     strategy :
9+       matrix :
10+         os : [macOS-latest, ubuntu-latest] 
11+     steps :
12+       - name : Checkout the source code 
13+         uses : actions/checkout@master 
14+         with :
15+           rust-version : nightly 
16+       - name : Environment 
17+         run : | 
18+           rustup update 
19+           rustup toolchain install nightly 
20+            
21+           if [[ "$(uname)" == 'Darwin' ]]; then 
22+               brew update 
23+               brew install sqlite3 
24+           else 
25+               sudo apt-get update -y 
26+               sudo apt-get install -y libsqlite3-dev libdbus-1-dev 
27+           fi 
28+        - name : Build 
29+         run : cargo +nightly build --verbose 
30+       - name : Run tests 
31+         run : cargo +nightly test --verbose 
Original file line number Diff line number Diff line change 1+ ## v0.2.15  
2+ Allow for custom testcases with the ` leetcode test `  command, and some minor edits
3+ 
4+ ## v0.2.14  
5+ Corrects file suffixes for c++ and c# files
6+ 
17## v0.2.13  
28fix percent length panic
39
Original file line number Diff line number Diff line change 11# leetcode-cli  
2- [ ![ doc] ( https://img.shields.io/badge/current-docs-green.svg )] ( https://docs.rs/leetcode-cli/ ) 
3- [ ![ Crates.io] ( https://img.shields.io/crates/v/leetcode-cli.svg )] ( https://crates.io/crates/leetcode-cli ) 
4- [ ![ Crates.io] ( https://img.shields.io/crates/d/leetcode-cli.svg )] ( https://crates.io/crates/leetcode-cli ) 
2+ ![ Rust] ( https://github.com/clearloop/leetcode-cli/workflows/Rust/badge.svg ) 
3+ [ ![ crate] ( https://img.shields.io/crates/v/leetcode-cli.svg )] ( https://crates.io/crates/leetcode-cli ) 
4+ [ ![ doc] ( https://img.shields.io/badge/current-docs-brightgreen.svg )] ( https://docs.rs/leetcode-cli/ ) 
5+ [ ![ dependency status] ( https://deps.rs/repo/github/clearloop/leetcode-cli/status.svg )] ( https://deps.rs/repo/github/clearloop/leetcode-cli ) 
6+ [ ![ downloads] ( https://img.shields.io/crates/d/leetcode-cli.svg )] ( https://crates.io/crates/leetcode-cli ) 
57[ ![ LICENSE] ( https://img.shields.io/crates/l/leetcode-cli.svg )] ( https://choosealicense.com/licenses/mit/ ) 
68
79## Contributors  
Original file line number Diff line number Diff line change @@ -246,14 +246,13 @@ extern crate diesel;
246246// show docs 
247247pub  mod  cache; 
248248pub  mod  cfg; 
249+ pub  mod  cli; 
249250pub  mod  cmds; 
250251pub  mod  err; 
251252pub  mod  flag; 
252253pub  mod  helper; 
253254pub  mod  plugins; 
254255pub  mod  pym; 
255- // really pub 
256- pub  mod  cli; 
257256
258257// re-exports 
259258pub  use  cache:: Cache ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments