This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM gradle:4.10.1-jdk8 | |
USER root | |
# Install Build Essentials | |
RUN \ | |
apt-get update && \ | |
apt-get install -y \ | |
build-essential \ | |
file \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// this automagically parses all JSX files | |
// from client | |
// | |
process.env.BABEL_DISABLE_CACHE = 1; | |
require('babel-register')({ | |
presets: ['react', 'es2015'], | |
only: [ "web/src" ] | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Sequelize = require('sequelize'); | |
const config = require(__dirname + '/config/sequelize.json')[process.env.NODE_ENV || 'development']; | |
const sequelize_options = { | |
logging: console.log, | |
define: { | |
timestamps: true, | |
// paranoid: true, | |
underscored: true, | |
freezeTableName: true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void debugMaybeSetVariable( const char*& ref, const char* variable_name ) | |
{ | |
const char* env_variable = std::getenv( variable_name ); | |
if( !env_variable ) | |
{ | |
return; | |
} | |
std::cerr << "using value" << variable_name << "=" << env_variable << "\n"; | |
ref = env_variable; | |
} |
NewerOlder