You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
539 B
20 lines
539 B
4 years ago
|
# Package
|
||
|
|
||
|
version = "0.1.0"
|
||
|
author = "Wesley Kerfoot"
|
||
|
description = "Turn Your Tweets Into Blog Posts"
|
||
|
license = "MIT"
|
||
|
srcDir = "src"
|
||
|
installExt = @["nim"]
|
||
4 years ago
|
bin = @["tweetlog"]
|
||
4 years ago
|
|
||
|
# Dependencies
|
||
4 years ago
|
requires "nim >= 1.0.9"
|
||
4 years ago
|
requires "https://github.com/dom96/jester"
|
||
4 years ago
|
requires "https://github.com/pragmagic/karax"
|
||
4 years ago
|
|
||
|
task bookmark, "Builds the minified bookmarklet":
|
||
|
"bookmarklet.min.js".rmFile
|
||
|
"echo -n 'javascript:' > ./bookmarklet.min.js".exec
|
||
|
"uglifyjs bookmarklet.js >> ./bookmarklet.min.js".exec
|