eobrain / bajel Goto Github PK
View Code? Open in Web Editor NEWA build system modeled on make.
License: Eclipse Public License 1.0
A build system modeled on make.
License: Eclipse Public License 1.0
I would like to be able to write:
SOURCE: "**/index.md"
and then use SOURCE
as a dependency (as per #26) and in commands:
output.html:
deps:
- $(SOURCE)
exec: "transmogrify output.html $(SOURCE)"
So instead of ...
some_target:
deps:
- downloaded_file.csv"
- other_dep
exec: do_something $< >$@
downloaded_file.csv:
exec: wget --output-document=$@ https://foo.com/some-url.csv
... you could just have ...
some_target:
deps:
- https://foo.com/some-url.csv
- other_dep
exec: do_something $< >$@
If all the sets are run with npx ava
then sometimes abc_test failes as shown below. It never seems to fail when running just npx ava test/abc_test.js
.
abc_test › abc generated var
test/abc_test.js:135
134: const out = stdout + stderr
135: t.regex(out, /^echo "Aaa" > .*\/a$/m)
136: t.regex(out, /^echo "Bbb" > .*\/b$/m)
Value must match expression:
`Problem expanding percents: Error: ENOENT: no such file or directory, stat 'test-REvEdH'␊
`
Regular expression:
/^echo "Aaa" > .*\/a$/m
› test/abc_test.js:135:7
scripts
property actions as Bajel actions.Hi,
The README says:
the following examples [...] each of which specify the same thing
but the examples don't look the same, since the JavaScript ones use variables like CC
, CFLAGS
, etc.
You might want to make that clearer.
"if you want to use variables for complex builds":
I like things clean and readable, but makefile-style variables seem hard to do without, even for simple builds...
So I tried doing a build.mjs
but I get Error: Not supported
and a stack trace ending with 'Error reading file': '/home/kai/fooproject/build.mjs'
But anyway I bet that, for a project like this to work, it needs its own custom language.
Using a standard format for programming is tempting, but I suspect, a dead-end.
That's why we have so many programming languages, and why we don't program (much) in XML or whatever.
Nice idea for a project, anyway.
Though it seems quite new to be referenced in Wikipedia, which is how I came across it...
https://en.wikipedia.org/wiki/List_of_build_automation_software#Make-incompatible
House style is .yml
rather than .yaml
(though we do use .json
- go figure...)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.