bash同一路标下(当前点)
// src/Main.hx
class Main
{
public static function main()
{
trace("hello world");
}
}
// build.hxml
--class-path src
--main Main
--interp
# for next task
--next
--class-path test
--main Test
--interp
# 调用系统命令
--cmd "echo shell or cmd is ok to run"
--cmd "sleep 1;clear"
# gen cppia code
--next
--main Main
--class-path src
# 手动mkdir
--cppia bin/cppia/main.cppia
--cmd "haxelib run hxcpp bin/cppia/main.cppia"
//test/Test.hx
class Test
{
public static function main()
{
trace("this is a test file");
}
}
what language should you learn
as far as I am concerned, I think take all language into account is more joyful. so I choose all languages you should take a look
what language in my native macos
haxe
rust
c / c++
ruby
go
python
perl
bash
zig
nim
...to add