Made "publish" task depend on "compile"