canoe 0.3.1 → 0.3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cmd.rb +1 -9
- data/lib/workspace/make.rb +2 -1
- data/lib/workspace/version.rb +13 -0
- data/lib/workspace/workspace.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f86609a6f492e0a6633dab5d94a46443c24de7cad25640d9b4cfa0a8c97b2907
|
|
4
|
+
data.tar.gz: e80970d6113b6a155edbfed18e490ad297ad75d0da626394ecdc9d4f2a166d7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69ea4c7960c5240f870b9d9a851a55cf3ebfa41fed2417b2a0eae9d49dff93fe6d1bb1e0dedfcb6abf72d5c452ca38297b643848d25a1103000d0b280765f4a8
|
|
7
|
+
data.tar.gz: b9fc0c80a96a201af4f32eb6d8d787ebe7869996fbdd2c97b5f0c2f0871c52e5ae3bdeef94b2f79e5153a2fc5c43704fa6a3ee7b9286771de9aceed60339c798
|
data/lib/cmd.rb
CHANGED
|
@@ -95,15 +95,7 @@ class CmdParser
|
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
def parse_version(args)
|
|
98
|
-
|
|
99
|
-
canoe v0.3.1
|
|
100
|
-
For features in this version, please visit https://github.com/Dicridon/canoe
|
|
101
|
-
Currently, canoe can do below:
|
|
102
|
-
- project creation
|
|
103
|
-
- project auto build and run (works like Cargo for Rust)
|
|
104
|
-
- project structure management
|
|
105
|
-
by XIONG Ziwei
|
|
106
|
-
VER
|
|
98
|
+
WorkSpace.version
|
|
107
99
|
end
|
|
108
100
|
|
|
109
101
|
def parse_help(args)
|
data/lib/workspace/make.rb
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# If the project has circular dependency, this command would fail
|
|
1
2
|
class Makefile
|
|
2
3
|
def initialize(workspace)
|
|
3
4
|
@workspace = workspace
|
|
@@ -223,7 +224,7 @@ class WorkSpace
|
|
|
223
224
|
|
|
224
225
|
deps = File.exist?(@deps) ?
|
|
225
226
|
DepAnalyzer.read_from(@deps) :
|
|
226
|
-
DepAnalyzer.new("./src").
|
|
227
|
+
DepAnalyzer.new("./src").build_to_file(["./src", "./src/components"], @deps)
|
|
227
228
|
|
|
228
229
|
makefile = Makefile.new(self)
|
|
229
230
|
makefile.configure(config)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
class WorkSpace
|
|
2
|
+
def self.version
|
|
3
|
+
puts <<~VER
|
|
4
|
+
canoe v0.3.1.1
|
|
5
|
+
For features in this version, please visit https://github.com/Dicridon/canoe
|
|
6
|
+
Currently, canoe can do below:
|
|
7
|
+
- project creation
|
|
8
|
+
- project auto build and run (works like Cargo for Rust)
|
|
9
|
+
- project structure management
|
|
10
|
+
by XIONG Ziwei
|
|
11
|
+
VER
|
|
12
|
+
end
|
|
13
|
+
end
|
data/lib/workspace/workspace.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: canoe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.1
|
|
4
|
+
version: 0.3.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- XIONG Ziwei
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-02-
|
|
11
|
+
date: 2021-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |+
|
|
14
14
|
Canoe offers project management and building facilities to C/C++ projects.
|
|
@@ -46,6 +46,7 @@ files:
|
|
|
46
46
|
- lib/workspace/run.rb
|
|
47
47
|
- lib/workspace/test.rb
|
|
48
48
|
- lib/workspace/update.rb
|
|
49
|
+
- lib/workspace/version.rb
|
|
49
50
|
- lib/workspace/workspace.rb
|
|
50
51
|
homepage: https://github.com/Dicridon/canoe
|
|
51
52
|
licenses:
|
|
@@ -66,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
66
67
|
- !ruby/object:Gem::Version
|
|
67
68
|
version: '0'
|
|
68
69
|
requirements: []
|
|
69
|
-
rubygems_version: 3.
|
|
70
|
+
rubygems_version: 3.2.3
|
|
70
71
|
signing_key:
|
|
71
72
|
specification_version: 4
|
|
72
73
|
summary: a C/C++ project management and building tool
|