summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2019-06-19Use source revision in commit messageMichael Forney
2019-05-04Update lpeg package name in repologyMichael Forney
2019-04-09scripts/commit.sh: Fix when branch doesn't already existMichael Forney
2019-04-09scripts/commit.sh: Only commit if tree changedMichael Forney
2019-03-19Add script to check for out-of-date packagesMichael Forney
2019-03-11Allow overriding pax command with PAXREADMichael Forney
Most systems do not have pax installed by default, or it is not available at all. However, since we are relying on the -s flag for member name substitution, we can't just use a tar command that works everywhere. Instead, support the environment variable PAXREAD to specify the command to use in place of `pax -r`. Since bsdtar from libarchive supports -s, we can set PAXREAD='bsdtar -xf -'.
2018-10-18Add mechanism to probe for size of typeMichael Forney
2018-02-16Port build scripts to POSIX shellMichael Forney
Since we are now using Lua to generate ninja files, use of rc in build scripts seems unnecessary and adds an additional bootstrap dependency. None of them are too fancy, so just port to POSIX sh instead.
2017-10-23Add mechanism to probe for toolchain featuresMichael Forney
2017-10-10fetch-curl: Allow overriding substitutionsMichael Forney
2017-09-25Add texi2mdoc 0.1.2Michael Forney
2017-09-01fetch-*.rc does not need to be executableMichael Forney
We always call it with rc explicitly.
2017-02-25scripts/tree.rc: Write index in $outdirMichael Forney
2017-02-10scripts/tree.rc: Don't clobber repository indexMichael Forney
The repository index should be preserved if writing directly to the / repository.
2017-01-03fetch-curl: If not specified use */* as extraction patternMichael Forney
Some pax implementations will fail otherwise if src already exists.
2016-12-29fetch-curl: Specify -O at the end in case we want to specify an output nameMichael Forney
2016-12-29Allow using /.git as output repositoryMichael Forney
2016-10-30Provide mechanism to track library dependenciesMichael Forney
Now, ar/lib rules can list static libraries or other .d files. These (as well as the target library) are written to a file called $lib.d. link/exe rules can list these .d files, causing them to be flattened into an RSP file and appear on the command line as @$rsp. The rule to generate the dependency list files depends on the libraries they contain, so they also act as a stamp file for the dependencies. This gives us dependency management for free.
2016-07-16Don't list git repository files as outputsMichael Forney
This way, ninja -t clean will work as expected.
2016-07-04tzdata: Fix gen.rc to not require contents of source filesMichael Forney
This also fixes a symlink target calculation bug.
2016-06-28fetch-curl: Support specifying a pattern of files to extractMichael Forney
2016-06-28fetch-curl: Match archives more strictlyMichael Forney
2016-06-27Don't warn about whitespace errors when applying patchesMichael Forney
2016-06-27Integrate source fetching into ninja filesMichael Forney
2016-06-07Add global fetch.rc scriptMichael Forney
2016-06-06Move fetch-curl.rc to scriptsMichael Forney
2016-06-06Fix special permission handlingMichael Forney
2016-04-23Don't use head -c -1; it's not portableMichael Forney
2016-04-23Add commit script to generate commit historyMichael Forney
This will make it easier for users to merge changes into their trees.
2016-04-23Use empty checkstatus functionMichael Forney
Since it is considered a simple command, it will trigger a failure if the previous command had failed.
2016-04-17Add config-posix.h header and configheader.rc script to help with packages ↵Michael Forney
using config.h.in
2016-04-16Use the name "oldcwd" for previous working directoryMichael Forney
2016-04-15Allow independent generation of ninja filesMichael Forney
2016-04-15scripts: Check status of commands with captured outputMichael Forney
2016-04-15Use git tag file as gittree outputMichael Forney
2016-04-15Add some initial packagesMichael Forney