This website requires JavaScript.
Explore
Help
Register
Sign In
psi-jack
/
zimfw
Watch
1
Star
0
Fork
You've already forked zimfw
0
mirror of
synced
2024-11-22 07:25:33 -05:00
Code
Issues
Releases
Wiki
Activity
2e9256a567
zimfw
/
Makefile
5 lines
100 B
Makefile
Raw
Normal View
History
Unescape
Escape
Update .gitignore and Makefile Minor fixes: * Ignore .latest_version in the root directory actually. * Make a new zimfw.zsh also when the LICENSE changes.
2020-01-16 12:19:22 -05:00
srcfiles
:=
src/zimfw.zsh.erb
$(
wildcard src/*/*.erb
)
LICENSE
Zim script in a single file \o/ Also moved the templates out of this repository, and into the zimfw/install repo. This is a second big change after introducing the plugin mechanism. This makes installation and upgrading of Zim straightforward. Maybe the most important aspect of having the script in a single file is not having to manage "git repos inside git repos" (see #297), since the single file exists by itself and is not version-controlled (with git). I've implemented a two-stage sourcing of the file, so most of the file is only sourced when needed (namely when calling `zimfw` with any action other than `login-init`). The two-stage process is designed to avoid compromising the startup speed, which is our top priority. In an effort to help making the script maintainable, I've broken it into small ERB templates. This also adds the ability to pre-process the Zsh code with Ruby code. To build the script, use `make`.
2019-01-22 19:40:43 -05:00
zimfw.zsh
:
$(
srcfiles
)
erb $< >
|
$@
Reference in a new issue
Copy permalink