Easier Autolisp using package management Ezinstall
- Download this repository
- Add path of Ezlisp to os environment variable "Ezlisp"
- Add path of Ezlisp and Ezlisp/packages to "Option > Support File Search Paths"
- Add file
preload.lsp
in Ezlisp to AutoCAD's "appload > Startup Suite"
(install <author>/<repo>)
(uninstall <repo>)
(import "<file>")
(import "<repo>/<file>")
(import "<foo>")
-> (import "<foo>/<foo>")
Add one line (import "<repo>/<file>")
to packages/loaded
Or, add packge_name to __loaded_mods__
Add packge_name to __testing_mods__
- ll: reload all files in
__loaded_mods__
and__testing_mods__
- tt: test all files in
__testing_mods__
- ttt: reload and test
- package_name (folder)
- package_name.lsp
- (import "package_name/file1")
- (import "package_name/file2")
- ...
- file1.lsp
- file2.lsp
- ...
- test.lsp
- (import "package_name/tests/file1")
- (import "package_name/tests/file2")
- ...
- tests (folder)
- file1.lsp (test_file)
- file2.lsp (test_file)
- package_name.lsp