Skip to content

Commit

Permalink
Include sake-core typings automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
zeekay committed May 18, 2017
1 parent 13f7348 commit 9847fe1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/load.coffee
Expand Up @@ -46,11 +46,8 @@ loadSakefileTs = (dir, file) ->
# Try to load from cache
return if cache.load dir, file

# Find core typing
sakeTypes = require.resolve 'sake-core/sake.d.ts'

# Write straight to cache
exec.sync "tsc --types #{sakeTypes} --outFile .sake/Sakefile.js Sakefile.ts"
exec.sync "tsc --types sake-core --outFile .sake/Sakefile.js Sakefile.ts"
cache.require dir


Expand Down

0 comments on commit 9847fe1

Please sign in to comment.