Skip to content

Commit

Permalink
executable comment build
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrsh committed May 5, 2019
1 parent 9ccab57 commit d09376d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const ENV_RE = /process\.env\.MOON_ENV/g;
async function build(package) {
const options = require(`../packages/${package}/config.js`);

const comment = `/**
const comment = `${options.executable ? "#!/usr/bin/env node\n" : ""}/**
* ${options.name} v${pkg.version}
* Copyright 2016-2019 Kabir Shah
* Released under the MIT License
Expand Down

0 comments on commit d09376d

Please sign in to comment.