bootstrap: Move from build-aux/bootstrap
NOTE: To see history for files in this directory, run: $ git log --follow PATH The previous home for the bootstrapping process was build-aux, but this has evolved into quite the project in its own that such a directory strucutre is no longer honest. Further, I want the bootstrap process to get the visibility in the source tree that it deserves, considering how vitally important it is. I preserved the original history rather than rewriting the commits because I did not want the hashes to change---I have recorded some hashes elsewhere as proof that early Ulambda existed when it did, since it is yet unpublished. * bootstrap/Bootstrap.js: Renamed from build-aux/bootstrap/Bootstrap.js. * bootstrap/birth.scm: Renamed from build-aux/bootstrap/birth.scm. * bootstrap/bootstrap.html: Renamed from build-aux/bootstrap.html. * bootstrap/bootstrap.js: Renamed from build-aux/bootstrap.js. * bootstrap/libprebirth.js: Renamed from build-aux/bootstrap/libprebirth.js. * bootstrap/prebirth.js: Renamed from build-aux/bootstrap/prebirth.js. * bootstrap/rebirth.scm: Renamed from build-aux/bootstrap/rebirth.scm. * bootstrap/rebirth/es.scm: Renamed from build-aux/bootstrap/rebirth/es.scm. * bootstrap/rebirth/macro.scm: Renamed from build-aux/bootstrap/rebirth/macro.scm. * bootstrap/rebirth/relibprebirth.scm: Renamed from build-aux/bootstrap/rebirth/relibprebirth.scm.master
parent
a76327ca0f
commit
aae726b7a6
|
@ -60,8 +60,8 @@ I'll wait for you to click the button below to get started.
|
||||||
</p>
|
</p>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
||||||
<script type="text/javascript" src="bootstrap/prebirth.js"></script>
|
<script type="text/javascript" src="prebirth.js"></script>
|
||||||
<script type="text/javascript" src="bootstrap/Bootstrap.js"></script>
|
<script type="text/javascript" src="Bootstrap.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
const loge = document.getElementById( 'log' );
|
const loge = document.getElementById( 'log' );
|
||||||
|
@ -80,7 +80,7 @@ I'll wait for you to click the button below to get started.
|
||||||
const xhr = new XMLHttpRequest();
|
const xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
xhr.responseType = 'text';
|
xhr.responseType = 'text';
|
||||||
xhr.open( 'GET', `bootstrap/${path}`, true );
|
xhr.open( 'GET', `./${path}`, true );
|
||||||
|
|
||||||
xhr.onload = result => resolve( result.target.responseText );
|
xhr.onload = result => resolve( result.target.responseText );
|
||||||
xhr.onerror = e => reject( e );
|
xhr.onerror = e => reject( e );
|
|
@ -32,8 +32,8 @@
|
||||||
* files in `./bootstrap/'.
|
* files in `./bootstrap/'.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const Bootstrap = require( './bootstrap/Bootstrap' );
|
const Bootstrap = require( './Bootstrap' );
|
||||||
const Prebirth = require( './bootstrap/prebirth' );
|
const Prebirth = require( './prebirth' );
|
||||||
|
|
||||||
const logf = ( str, e ) =>
|
const logf = ( str, e ) =>
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,7 @@ const logf = ( str, e ) =>
|
||||||
};
|
};
|
||||||
|
|
||||||
const getf = path => Promise.resolve(
|
const getf = path => Promise.resolve(
|
||||||
require( 'fs' ).readFileSync( `./bootstrap/${path}` ).toString()
|
require( 'fs' ).readFileSync( `./${path}` ).toString()
|
||||||
);
|
);
|
||||||
|
|
||||||
const strap = new Bootstrap( getf, logf, new Prebirth() );
|
const strap = new Bootstrap( getf, logf, new Prebirth() );
|
Loading…
Reference in New Issue