This package requires atom-build:
apm install build
Optionally to display compile errors and warnings nicely, add the linter package:
apm install linter
Install the scons builder from the package sources:
apm install build-scons
Or install from git:
cd $HOME/.atom/packages git clone https://github.com/wendlers/atom-build-scons.git build-scons
See atom-build for available key-bindings.
In the settings dialog of the
build-scons package it is possible to configure
silentDon't print commands
jobsNumber of jobs to run in parallel
separate build dirSelect for out of tree builds using a separate build dir. All the build artifacts will go to :
The builder defines the following default targets:
releasebuild with variables
debugbuild with variables
defaultbuild with no variables set
You could provide per project targets by creating the file
sconstruct script. Each target is defined by
followed by an entry specifying the SCons targets, and an entry giving the SCons
[my target] params="debug=1 release=0" [my target clean] targets=-c [my special target] targets="this that" params="debug=1 release=0"
targets.iniis not detected without reloading (e.g.
Shift+Ctrl+F5). However, changes to an existing
targets.iniare detected and activated without reload.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.