Skip to content

Commit

Permalink
Added simple build system to pave way for more complex features
Browse files Browse the repository at this point in the history
  • Loading branch information
Starbeamrainbowlabs committed Dec 25, 2014
1 parent e865e36 commit 3cab765
Show file tree
Hide file tree
Showing 2 changed files with 709 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build.php
@@ -0,0 +1,15 @@
<?php
header("content-type: text/plain");
echo("Checking for existing build....");
if(file_exists("index.php"))
exit("fail!\nA build already exists in this directory.\nPlease delete it and then run this script again.");

echo("pass - no other builds were found.\n");

echo("Reading core.php...");
$build = file_get_contents("core.php");
echo("done\n");

echo("Writing build....");
file_put_contents("index.php", $build);
echo("done!\n*** Build Completed ***\n");

0 comments on commit 3cab765

Please sign in to comment.