diff options
-rw-r--r-- | COPYING | 26 | ||||
-rw-r--r-- | README | 31 | ||||
-rw-r--r-- | scramble.egg | 1 |
3 files changed, 58 insertions, 0 deletions
diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..7e3eab2 --- /dev/null +++ b/COPYING | |||
@@ -0,0 +1,26 @@ | |||
1 | Copyright 2024 Case Duckworth | ||
2 | |||
3 | Redistribution and use in source and binary forms, with or without modification, | ||
4 | are permitted provided that the following conditions are met: | ||
5 | |||
6 | 1. Redistributions of source code must retain the above copyright notice, this | ||
7 | list of conditions and the following disclaimer. | ||
8 | |||
9 | 2. Redistributions in binary form must reproduce the above copyright notice, | ||
10 | this list of conditions and the following disclaimer in the documentation | ||
11 | and/or other materials provided with the distribution. | ||
12 | |||
13 | 3. Neither the name of the copyright holder nor the names of its contributors | ||
14 | may be used to endorse or promote products derived from this software without | ||
15 | specific prior written permission. | ||
16 | |||
17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND | ||
18 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
19 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
20 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR | ||
21 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
22 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
23 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | ||
24 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
25 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
26 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file | ||
diff --git a/README b/README new file mode 100644 index 0000000..aa4af14 --- /dev/null +++ b/README | |||
@@ -0,0 +1,31 @@ | |||
1 | SCRAMBLE : turn an egg into a Makefile | ||
2 | (look the name's not clever. so it goes) | ||
3 | |||
4 | Scramble turns a CHICKEN egg into a Makefile. | ||
5 | It's pretty similar in function to `chicken-install`, | ||
6 | except that it puts all the build artifacts in `build/`. | ||
7 | |||
8 | Run it like this: | ||
9 | |||
10 | scramble [egg-directory-or-name] | ||
11 | |||
12 | where EGG-DIRECTORY-OR-NAME is the directory in which the .egg resides, | ||
13 | or the name of the .egg itself. It defaults to the current directory. | ||
14 | |||
15 | Scramble will output the Makefile to standard out. | ||
16 | Redirect it to a file to save it. | ||
17 | |||
18 | To install scramble, run | ||
19 | |||
20 | make install | ||
21 | |||
22 | on this repo, or run | ||
23 | |||
24 | chicken-install -s | ||
25 | |||
26 | either will work :) | ||
27 | |||
28 | The Makefile in this repo is generated with scramble. | ||
29 | |||
30 | Scramble is licensed under the BSD 3-clause license. | ||
31 | Details in COPYING. \ No newline at end of file | ||
diff --git a/scramble.egg b/scramble.egg index 28df21b..6a8eeac 100644 --- a/scramble.egg +++ b/scramble.egg | |||
@@ -1,5 +1,6 @@ | |||
1 | ((author "Case Duckworth") | 1 | ((author "Case Duckworth") |
2 | (synopsis "Convert an egg to a Makefile") | 2 | (synopsis "Convert an egg to a Makefile") |
3 | (license "BSD-3") | ||
3 | (dependencies (chicken "5.3.0") utf8 srfi-1) | 4 | (dependencies (chicken "5.3.0") utf8 srfi-1) |
4 | ;; (test-dependencies test) | 5 | ;; (test-dependencies test) |
5 | (component-options | 6 | (component-options |