Add the following code to your project's shard.yml under:
dependencies
to use in production
- OR -
development_dependencies
to use in development
An super organized crystal tree generator
git clone https://github.com/nillythel0l/easy.cr
shards install
./bin/gi-crystal
shards build
./easycr
add
require "../deps/**"
require "../imports/**"
to app/app/app.cr
add your requires to
./app/source/imports/imports.cr
require "cor"
require "cor/string"
require "../deps/**"
require "../imports/**"
puts "hello world".fore("bruh")
App.lol
class App
def self.lol
puts "hello lol"
end
end
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)app/
shard.yml
source/
app/
app.cr
defs/
defs.cr
imports/
imports.cr