-
Notifications
You must be signed in to change notification settings - Fork 20
/
README
68 lines (39 loc) · 1.95 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
1. Using Bakefile
=====================
If you obtained one of the prebuilt packages (MSI or ZIP file for windows or
the -bin.tar.bz2 tarball for Unix and OS X), then you can simply unpack it
somewhere and run the 'bkl' tool in its top directory.
On Windows, you don't need anything else, bkl.exe is self-contained executable.
On other systems, you must have Python 2.7 installed.
Running with Docker or Podman
-------------------------------
As an alternative to installing Bakefile on your system, you can use Docker
or Podman to run Bakefile in a container. The following command will run
Bakefile in a container and mount the current directory as a volume:
docker run --rm -v $(pwd):$(pwd) -w $(pwd) ghcr.io/vslavik/bakefile:1 foo.bkl
If your bakefiles depend on files in parent directories, you can mount a larger
part of local filesystem, even your entire home directory, like this:
docker run --rm -v $HOME:$HOME -w $(pwd) ghcr.io/vslavik/bakefile:1 [...args...]
2. Documentation
====================
Documentation is generated by scripts in the docs/ subdirectory. Up to date
version is always available from http://docs.bakefile.org
3. Reporting bugs etc.
==========================
Source code repository, bug tracker, wiki:
https://github.com/vslavik/bakefile
https://github.com/vslavik/bakefile/issues
https://github.com/vslavik/bakefile/wiki
4. Building from sources
============================
You'll need the following to compile Bakefile from sources obtained from
the git repository:
1. Python 2.7
2. Sphinx documentation tool. Install it with
easy_install Sphinx
3. If you want to run the test suite, you'll need py.test too:
easy_install pytest
4. Some additional modules are used if available, but are not required:
easy_install clint (for colorized output)
Once all tools are installed, you can build Bakefile by running `make`. This
generates the parser from ANTLR grammar and build the HTML documentation.