3 releases
0.0.3 | Aug 21, 2021 |
---|---|
0.0.2 | Aug 14, 2021 |
0.0.1 | Aug 13, 2021 |
#119 in #workspace
20KB
487 lines
spacework
- a workspace manager
Warning: This project is nowhere near complete
spacework
is hoping to become a simple workspace manager similar to cargo
without the dependency management. It will mostly help organize directories and
track your previous commands to help you remember what you were working on last.
It also will allow you to run simple build commands from it, along with
defining your own custom commands in toml
files.
My main motivation for building it is to be able to organize and track my work.
Where it is
spacework
isn't quite ready yet, but it's slowly and steadily making progress!
Where it's going
I'm still figuring out how I want things to work in the end, but I'm planning on having functionality similar to the following:
# Create a new workspace in C++
$ spacework new -l cpp hello_socks
Created `spacework` directory: /home/marsha/spacework/cpp/hello_socks
# It comes with a `main.cpp` file with a "hello, world!" greeting like `cargo`.
$ tree ~/spacework/cpp/hello_socks/
/home/marsha/spacework/cpp/hello_socks/
├── bin
└── src
└── main.cpp
# It writes to a `.spacework_history` file to keep track of projects.
# I'm thinking of storing information in sqlite instead, and
# reading it with a `spacework history` subcommand.
$ cat ~/.spacework_history
2021-08-11@13:59:08: Hello hello, world!
2021-08-11@13:59:09: Created /home/marsha/spacework/cpp/hello_socks
# It should have build and run subcommands to choose between only compiling
# your code, or compiling and run it all at once.
$ cd ~/spacework/cpp/hello_socks
$ spacework run
Hello, world!
Dependencies
~2.8–3.5MB
~66K SLoC