fixed a bug that build scripts were not installed

This commit is contained in:
Rocco 2013-04-15 22:44:39 +02:00
parent ab64e492af
commit da18eccd52
4 changed files with 13 additions and 10 deletions

View File

@ -3,7 +3,7 @@ var dust = require('../bin/dust');
var operatingSystem = operatingSystem();
var osVersion = dust.shell.exec("sw_vers -productVersion", {silent:dust.silent}).output;
var dustVersion = '0.4.0 (2013-04-15)';
var dustVersion = '0.4.1 (2013-04-15)';
exports.operatingSystem = operatingSystem
exports.osVersion = osVersion;

View File

@ -15,6 +15,10 @@
"mac": {
"preBundleUrl": "https://github.com/actraiser/dust-bundle-c64-mac.git",
"preBundleList": {
"buildscripts" : {
"directory": "compileScripts",
"installer": "installCompileScripts"
},
"acme" : {
"directory": "tools/Acme 0.94.4/src",
"installer": "installAcme"
@ -30,10 +34,6 @@
"sidreloc" : {
"directory": "tools/Sidreloc 1.0",
"installer": "installSidreloc"
},
"installCompileScripts" : {
"directory": "compileScripts",
"installer": "installCompileScripts"
}
},
"externals": {
@ -70,6 +70,7 @@
"description" : "Install everything",
"list": {
"acme": true,
"buildscripts": true,
"exomizer": true,
"pucrunch": true,
"sidreloc": true,
@ -82,6 +83,7 @@
"description" : "Install everything but Sublime Text 2",
"list": {
"acme": true,
"buildscripts": true,
"exomizer": true,
"pucrunch": true,
"sidreloc": true,
@ -94,6 +96,7 @@
"description" : "Install everything but WineBottler",
"list": {
"acme": true,
"buildscripts": true,
"exomizer": true,
"pucrunch": true,
"sidreloc": true,
@ -106,6 +109,7 @@
"description" : "Install without Sublime Text 2 or WineBottler",
"list": {
"acme": true,
"buildscripts": true,
"exomizer": true,
"pucrunch": true,
"sidreloc": true,

View File

@ -168,12 +168,11 @@ function installSidreloc(workdir,bundledir){
}
function installCompileScripts(workdir,bundledir){
process.stdout.write('installing Sidreloc ');
process.stdout.write('installing build scripts for 6502 and BASIC ');
dust.shell.cd(dust.shell.env['HOME'] + "/temp_dust_compile/" + bundledir, {silent:dust.silent});
dust.shell.cd(workdir);
process.stdout.write('installing build scripts for 6502 and BASIC ');
dust.shell.exec('sudo cp -v "$PWD/scripts/assemble_6502" "/usr/local/bin"', {silent:dust.silent});
dust.shell.exec('sudo cp -v "$PWD/scripts/tokenize_basic" "/usr/local/bin"', {silent:dust.silent});
dust.shell.exec('sudo cp -v "assemble_6502" "/usr/local/bin"', {silent:dust.silent});
dust.shell.exec('sudo cp -v "tokenize_basic" "/usr/local/bin"', {silent:dust.silent});
dust.setup.installStatus(true);
}

View File

@ -1,7 +1,7 @@
{
"name": "dustlayer",
"preferGlobal": true,
"version": "0.4.0",
"version": "0.4.1",
"homepage": "http://dustlayer.com",
"author": "actraiser <actraiser@dustlayer.com>",
"description": "command line suite for new and experienced retro programmers. Check homepage for details.",