geet-geet 0.2.0 → 0.3.0
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.
- package/README.md +1 -1
- package/lib/version.sh +0 -0
- package/lib/why.sh +22 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Only Git's *view* of the filesystem changes.
|
|
|
9
9
|
|
|
10
10
|
## Why?
|
|
11
11
|
> “I built something useful, and I think that **SOME but not all of my code is re-usable**.
|
|
12
|
-
I want to publish some of my code for
|
|
12
|
+
I want to publish some of my code for others to use (or to re-use myself)...
|
|
13
13
|
but **I don't want to spend weeks refactoring** to split apart the reusable code from the implementation-specific code.
|
|
14
14
|
In fact, it may not even be possible to move around all my files without breaking things.
|
|
15
15
|
Plus, supporting this template is my **secondary task** which I want to do in tandem with my **primary development**, using my main repository's working directory and publishing some pieces to the template repo.”
|
package/lib/version.sh
CHANGED
|
File without changes
|
package/lib/why.sh
CHANGED
|
@@ -5,23 +5,33 @@
|
|
|
5
5
|
# whynot
|
|
6
6
|
|
|
7
7
|
why() {
|
|
8
|
-
cat <<'EOF'
|
|
9
|
-
|
|
8
|
+
printf '%b' "$(cat <<'EOF'
|
|
9
|
+
Use geet if this resonates with you...
|
|
10
|
+
\033[3m
|
|
11
|
+
"I built something useful, and I think that SOME but not all of my code is re-usable.
|
|
12
|
+
I want to publish some of my code for others to use (or to re-use myself)...
|
|
13
|
+
but I don't want to spend weeks refactoring to split apart the reusable code from the implementation-specific code.
|
|
14
|
+
In fact, it may not even be possible to move around all my files without breaking things.
|
|
15
|
+
Plus, supporting this template is my secondary task which I want to do in tandem with my primary development,
|
|
16
|
+
using my main repository's working directory and publishing some pieces to the template repo."
|
|
17
|
+
|
|
18
|
+
\033[0m
|
|
10
19
|
|
|
11
|
-
I built something useful, and I think that SOME but not all of my code is re-usable.
|
|
12
|
-
I want to publish some of my code for other's to use (or to re-use myself)...
|
|
13
|
-
but I don't want to spend weeks refactoring to split apart the reusable code from the implementation-specific code.
|
|
14
|
-
In fact, it may not even be possible to move around all my files without breaking things.
|
|
15
|
-
Plus, supporting this template is my secondary task which I want to do in tandem with my primary development,
|
|
16
|
-
using my main repository's working directory and publishing some pieces to the template repo.
|
|
17
20
|
EOF
|
|
21
|
+
)"
|
|
22
|
+
|
|
18
23
|
}
|
|
19
24
|
|
|
20
25
|
whynot() {
|
|
21
|
-
cat <<'EOF'
|
|
22
|
-
|
|
26
|
+
printf '%b' "$(cat <<'EOF'
|
|
27
|
+
As much as I love this package, it is not for every use case...
|
|
28
|
+
\033[3m
|
|
29
|
+
You probably do not need geet if you can super cleanly separate your template from your app or make your source code fully modular.
|
|
30
|
+
If you can use a package distribution like pypi or npm that is probably best. If git submodules work for you, that is good too.
|
|
31
|
+
If those solutions are not working for you, then check back here.
|
|
32
|
+
|
|
33
|
+
\033[0m
|
|
23
34
|
|
|
24
|
-
If you can super cleanly separate your template from your app or make your sourcecode fully modular,
|
|
25
|
-
you don't need geet, use a normal repo or maybe submodules.
|
|
26
35
|
EOF
|
|
36
|
+
)"
|
|
27
37
|
}
|