Skip to content

Instantly share code, notes, and snippets.

@chris-martin
Created November 28, 2017 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-martin/2e294bf1199ff63952a9c6fd37279fd9 to your computer and use it in GitHub Desktop.
Save chris-martin/2e294bf1199ff63952a9c6fd37279fd9 to your computer and use it in GitHub Desktop.
{
global-css = runCommand "style-global" { } ''
cat "${constants-scss}" "${./global.scss}" | "${sassc}/bin/sassc" > "$out"
'';
global-js = runCommand "script-global" { } ''
cat "${./global.js}" | ${minify}/bin/minify --type=js > "$out"
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment